added email and setings field for user
parent
4f299ea07f
commit
ba20635544
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue