More changes brought through testing.
This commit is contained in:
parent
40e727f5bf
commit
c22ecf44ec
9 changed files with 149 additions and 11 deletions
6
test_app/db.py
Normal file
6
test_app/db.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
from sqlalchemy import create_engine
|
||||
from sqlalchemy.orm import sessionmaker, declarative_base
|
||||
|
||||
engine = create_engine('sqlite:///test.db', echo=True)
|
||||
SessionLocal = sessionmaker(bind=engine)
|
||||
Base = declarative_base()
|
||||
Loading…
Add table
Add a link
Reference in a new issue