This PR installs and configures SQLAlchemy and its associated migration tool, Alembic, for use in our codebase.
IMPORTANT: in order to get this PR working with an existing database:
pip install -r requirements.txt
alembic stamp head
This PR maintains support for existing Peewee queries, though use of Peewee in this project is now deprecated and existing queries should be migrated over time. A proof-of-concept SQLAlchemy query is added to experiments/sqlalchemy_poc.py.
This PR installs and configures SQLAlchemy and its associated migration tool, Alembic, for use in our codebase.
IMPORTANT: in order to get this PR working with an existing database:
pip install -r requirements.txt
alembic stamp head
This PR maintains support for existing Peewee queries, though use of Peewee in this project is now deprecated and existing queries should be migrated over time. A proof-of-concept SQLAlchemy query is added to
experiments/sqlalchemy_poc.py
.Closes #29.