Administrator/administrator/db/UserSettings.py

14 lines
347 B
Python

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))