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