SQL data model for gearbox
- gearboxdatamodel/util/bucket_utils.py
-
for building image
script_location = %(here)s/.venv/src/gearboxDataModel/migrations
version_locations = %(here)s/.venv/src/gearboxDataModel/migrations/versions -
for local testing
script_location = %(here)s/env/src/gearboxDataModel/migrations
version_locations = %(here)s/env/src/gearboxDataModel/migrations/versions
for local testing you should modify the gearbox-matching pyproject.toml by adding "develop=true" as follows which will copy the migrations into the env/src directory
gearboxdatamodel = { git = "https://github.com/chicagopcdc/gearboxDataModel", branch = "", develop=true }