🎨 models - und thus tables - have no underscores

This commit is contained in:
Brian Wiborg 2025-09-29 22:26:39 +02:00
parent bbadd1c132
commit 7c75cea413
No known key found for this signature in database

View file

@ -24,7 +24,7 @@ class User(Model):
is_admin: bool = field.BooleanField(default=False) is_admin: bool = field.BooleanField(default=False)
is_staff: bool = field.BooleanField(default=False) is_staff: bool = field.BooleanField(default=False)
groups: field.ManyToManyRelation[Group] = field.ManyToManyField( 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: class Schema: