🎨 models - und thus tables - have no underscores
This commit is contained in:
parent
bbadd1c132
commit
7c75cea413
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ class User(Model):
|
|||
is_admin: bool = field.BooleanField(default=False)
|
||||
is_staff: bool = field.BooleanField(default=False)
|
||||
groups: field.ManyToManyRelation[Group] = field.ManyToManyField(
|
||||
"ohmyapi_auth.Group", related_name="users", through="user_groups"
|
||||
"ohmyapi_auth.Group", related_name="users", through="usergroups"
|
||||
)
|
||||
|
||||
class Schema:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue