add authentication
add built-in cleanup general refactor
This commit is contained in:
parent
20ee543ab4
commit
ba2e896813
15 changed files with 313 additions and 106 deletions
|
|
@ -38,3 +38,4 @@ class Users(Base):
|
|||
password: Mapped[str] = mapped_column(String(128))
|
||||
created_at: Mapped[Optional[datetime.datetime]] = mapped_column(TIMESTAMP, server_default=text('current_timestamp()'))
|
||||
temporary: Mapped[Optional[int]] = mapped_column(TINYINT(1), server_default=text('1'))
|
||||
invite_code: Mapped[Optional[str]] = mapped_column(String(32))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue