Initial Commit. Split cloud service from the combined project

This commit is contained in:
2026-05-08 13:20:23 +03:00
commit 4cbf8986df
37 changed files with 4543 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
from sqlalchemy import Column, Integer, String
from database import Base
class Admin(Base):
__tablename__ = "admins"
id = Column(Integer, primary_key=True, index=True)
username = Column(String, unique=True, nullable=False)
password_hash = Column(String, nullable=False)
role = Column(String, default="sysadmin")