A prefect implementation for building data pipelines and performing ETL on financial data.
poetry run python manage.py migrate <APP_NAME>
poetry run python manage.py makemigrations <APP_NAME> -m <MESSAGE>
- append version path to
version_path
list in alembic.ini
version_locations = ... %(here)s/financial_data/<YOUR_APP>/migrations
- run init the migrations using
init-migrations
in manage.py
poetry run python init-migrations <APP_NAME>
- add script path to alembic.ini
[<APP_NAME>]
script_location = financial_data/<APP_NAME>/migrations
- run initial migrations
python manage.py makemigrations <APP_NAME> -m <MESSAGE> -v <MIGRATIONS_DIR> -i