From 2a01481440529d72a1c99473241e5836b03f3832 Mon Sep 17 00:00:00 2001 From: Kostanjevec Date: Thu, 7 Jul 2022 17:20:15 +0200 Subject: [PATCH] cleanup --- populate_db_once.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/populate_db_once.py b/populate_db_once.py index a736a3d..304cce3 100644 --- a/populate_db_once.py +++ b/populate_db_once.py @@ -19,14 +19,4 @@ for item in l: card = Card(title=name, interest_rate=-1.0, owner_id=1, item_location=public_link, last_review=None, share_id="0") dbsession.add(card) dbsession.commit() - dbsession.close() - - - -""" - id = Column(Integer, primary_key=True, autoincrement=True) - title = Column(String(1024)) - interest_rate = Column(Float) - owner_id = Column(Integer, ForeignKey("user.id"), nullable=False) - -""" + dbsession.close() \ No newline at end of file