chau
chau
> 你是如何创建表格的? ```python class Hospital(Model): class Meta: table = 'hospital' id = fields.CharField(max_length=50, pk=True, index=True, description='医院ID') name = fields.CharField(max_length=255, default=None, null=True, description='医院名称') alias = fields.TextField(default=None, null=True, description='医院-所有名称名称') create_time = fields.DatetimeField(null=False,...
timezone='Asia/Shanghai' ? On PostgreSQL, it seems that no matter how you set it, it always has UTC time ```python import datetime from tortoise import timezone print(datetime.datetime.now()) # > 2023-06-16 15:17:52.114416...