Restructure api
Fixes in geo api, registry Cleanups
This commit is contained in:
parent
c84dd61f6a
commit
8c299f0041
17 changed files with 212 additions and 162 deletions
|
@ -27,7 +27,7 @@ class UserBase(SQLModel):
|
|||
|
||||
class User(UserBase, table=True):
|
||||
__table_args__ = gisaf_admin.table_args
|
||||
id: int | None = Field(default=None, primary_key=True)
|
||||
id: str | None = Field(default=None, primary_key=True)
|
||||
roles: list["Role"] = Relationship(back_populates="users",
|
||||
link_model=UserRoleLink)
|
||||
password: str | None = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue