dodal udername in password coll
parent
afedc8d2be
commit
955e05460e
|
@ -3,6 +3,7 @@
|
|||
from csv import unregister_dialect
|
||||
#import email
|
||||
from sqlite3 import Date
|
||||
from click import password_option
|
||||
#from ssl import _PasswordType
|
||||
#from xmlrpc.client import DateTime
|
||||
#from matplotlib.pyplot import title
|
||||
|
@ -18,6 +19,8 @@ Base = declarative_base()
|
|||
class User(Base):
|
||||
__tablename__ = 'user'
|
||||
id = Column(Integer, primary_key=True, autoincrement=True)
|
||||
username = Column(String(64))
|
||||
password = Column(String(64))
|
||||
# username = Column(String)
|
||||
# password = Column(String) #mogoče raje kaj drugega, neki hash passworda al neki
|
||||
# email = Column(String)
|
||||
|
|
Loading…
Reference in New Issue