Browse Source

dodal udername in password coll

master
Kostanjevec 7 days ago
parent
commit
955e05460e
  1. 3
      create_db.py

3
create_db.py

@ -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…
Cancel
Save