CulverLab / CulverLab/sparcd-web

Have database version checked before starting gunicorn server and bring it up to date

Open
#157 0 comments 0 reactions 0 assignees View on GitHub
Database enhancement
Dominant language
Python
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

The database version is stored in the sparcd table

There should be a step where the startup script starts, it checks the database for its version number. If it's out of date, it should update the database as needed to bring it up to date

Proposed structure:
- have a db_scripts folder which have update commands to the table. Standardized script file naming has application new version number as part of the name.
- If the update involves remove tables or data, a confirmation step needs to. be included; maybe an environment variables. If not confirmed, a message needs to be displayed with details on how to proceed (such as specifying an environment variable)
-

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.