From 9feb5f5d9e842442f00aaee95dcf4d39d7119b73 Mon Sep 17 00:00:00 2001 From: Pavel_Duron Date: Sun, 13 Nov 2022 22:56:33 +1000 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D1=8B=D0=B9=20=D1=81=D1=82=D0=BE=D0=B1=D0=B5?= =?UTF-8?q?=D1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sqdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqdb.py b/sqdb.py index f036ad9..a564f59 100644 --- a/sqdb.py +++ b/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)