Administrator/administrator/db/UserSettings.py

15 lines
347 B
Python
Raw Permalink Normal View History

2023-08-25 00:16:33 +02:00
from sqlalchemy import Column
from sqlalchemy import Integer
from sqlalchemy import String
from sqlalchemy.orm import relationship
from . import Base
class UserSettings(Base):
__tablename__ = "user_settings"
id = Column(Integer, primary_key=True)
uid = Column(String(30))
app = Column(String(30))
value = Column(String(30))