Describe the bug
Failed to set schema for models.Model in postgresql.
To Reproduce
from tortoise import fields, models
class Tt(models.Model):
id = fields.IntField(primary_key=True)
username = fields.CharField(max_length=20, unique=True)
class Meta:
schema = 'auth'
Expected behavior
All tables are created in the public scheme of postgresql.
Please check it.
Describe the bug Failed to set schema for models.Model in postgresql.
To Reproduce
Expected behavior All tables are created in the public scheme of postgresql. Please check it.