Третий стрим
This commit is contained in:
7
app/models/base.py
Normal file
7
app/models/base.py
Normal file
@ -0,0 +1,7 @@
|
||||
from sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column
|
||||
|
||||
|
||||
class Base(DeclarativeBase):
|
||||
__abstract__ = True
|
||||
|
||||
id: Mapped[int] = mapped_column(primary_key=True, autoincrement=True)
|
Reference in New Issue
Block a user