Skip to content

Commit

Permalink
added db filepath
Browse files Browse the repository at this point in the history
  • Loading branch information
astronik00 committed Apr 28, 2023
1 parent b6d7498 commit 53dfb78
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Code/utils/base.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from sqlalchemy import create_engine
from sqlalchemy.orm import declarative_base
from sqlalchemy.orm import sessionmaker

engine = create_engine('sqlite:///./test.db', echo=False)
Base = declarative_base()
Session = sessionmaker(bind=engine)

0 comments on commit 53dfb78

Please sign in to comment.