forked from Pavel_Durov/python_bot
добавил новый стобец
This commit is contained in:
parent
0fcbd8fab5
commit
9feb5f5d9e
4
sqdb.py
4
sqdb.py
@ -21,12 +21,12 @@ class user(Base):
|
||||
user_id = Column(Integer)
|
||||
user_fullname = Column(String)
|
||||
dick_size = (Column(Integer))
|
||||
|
||||
datetimes = (Column(DateTime))
|
||||
|
||||
|
||||
|
||||
|
||||
# Base.metadata.create_all(engine) создает таблицу
|
||||
Base.metadata.create_all(engine)
|
||||
|
||||
# int_table = user(user_id = 12345678, user_fullname = 'test', dick_size = 10) #импортирую юзер из sqdb
|
||||
# session.add(int_table)
|
||||
|
Loading…
Reference in New Issue
Block a user