Skip to content

About

SQL data model for gearbox

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

84 Commits

Folders and files

Repository files navigation

gearboxDataModel

SQL data model for gearbox

Shared utils functions that are unrelated to the model

  • gearboxdatamodel/util/bucket_utils.py

To access migrations from gearbox-matching modify gearbox-matching/alembic.ini as follows:

  • 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 }

About

SQL data model for gearbox

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages