Browse Source

added email and setings field for user

master
Kostanjevec 1 week ago
parent
commit
ba20635544
  1. 6
      create_db.py

6
create_db.py

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

Loading…
Cancel
Save