Compare commits

..

2 Commits

Author SHA1 Message Date
b148e10393 fix
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-08 22:06:46 +10:00
b3dce30491 fix 2022-11-08 22:06:11 +10:00
3 changed files with 5 additions and 6 deletions

BIN
dick3.db

Binary file not shown.

View File

11
sqdb.py
View File

@ -19,14 +19,13 @@ class user(Base):
id = Column(Integer, primary_key=True) id = Column(Integer, primary_key=True)
user_id = Column(Integer) user_id = Column(Integer)
user_fullname = Column(String) user_fullname = Column(String)
c2 = user(user_id = 123466, user_fullname = 'sfsfsfsfs')
class adding(Base):
async def add_user():
session.add()
session.commit()
c2 = user(user_id = 1234, user_fullname = 'sfsfsfsfs')
session.add(c2)
session.commit()
#Base.metadata.create_all(engine) #Base.metadata.create_all(engine)