So this is the question: Let's say I have 2 schemas in my database: schema1 and schema2
I have a simple user table and a simple car table
class User(models.Model)
class Meta:
db_table = 'user'
class Car(models.Model)
class Meta:
db_table = 'car'
I want the user table to be in schema1
And the car table is to be in schema2
How would you guys go about doing this?
I saw a post that said I need to specify int he db_table = 'schema_name"."table_name' But that doesn't work.