added email and setings field for user

master
Kostanjevec 2022-06-15 11:21:31 +02:00
parent 4f299ea07f
commit ba20635544
1 changed files with 2 additions and 4 deletions

View File

@ -24,10 +24,8 @@ class User(Base):
id = Column(Integer, primary_key=True, autoincrement=True) id = Column(Integer, primary_key=True, autoincrement=True)
username = Column(String(64)) username = Column(String(64))
password = Column(String(64)) password = Column(String(64))
# email = Column(String) email = Column(Text)
# config settings = Column(Text) #neki json...
# deck_size = Column(Integer)
class Card(Base): class Card(Base):
__tablename__ = 'card' __tablename__ = 'card'