dodal udername in password coll

master
Kostanjevec 2022-05-13 18:22:36 +02:00
parent afedc8d2be
commit 955e05460e
1 changed files with 3 additions and 0 deletions

View File

@ -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)