initial commit

This commit is contained in:
2024-02-25 06:01:35 +03:00
commit bd0100cd21
27 changed files with 395 additions and 0 deletions

View File

@@ -0,0 +1 @@
from .basic import User

Binary file not shown.

Binary file not shown.

10
database/models/basic.py Normal file
View File

@@ -0,0 +1,10 @@
from sqlalchemy import Column, Integer, String
from ..base import BaseModel
class User(BaseModel):
__tablename__ = 'users'
id = Column(Integer, autoincrement=True, primary_key=True, index=True)
login = Column(String, unique=True)
password = Column(String, unique=True)