You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
integrate the Flask application with HarvestDB's update functionality so that database changes can be easily managed and applied within the Flask environment.
[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]
GIVEN the code resides in the orchestrator repository
AND the objective is to consolidate it into the harvesting-logic repository
THEN deploy and test the app on cloud.gov and
GIVEN the team has settled on the Table structure
AND it has been defined in an SQLAlchemy file
THEN it should be able to be created programmatically in a Docker container by running a DB initialization script.
GIVEN that the DB has been initialized
WHEN alterations are made to database tables,
THEN execute the database update function to apply updates.
Background
Continuing the work in #4612, implement database table structure update functions within the application logic.
Sketch
research and test Flask-SQLAlchemy versus SQLAlchemy
test database table changes with flask commands
The text was updated successfully, but these errors were encountered:
Changed to Flask-Alchemy and organized the app directory to accommodate Flask-related files.
Also configured Flask-Migrate for handling database upgrades
User Story
integrate the Flask application with HarvestDB's update functionality so that database changes can be easily managed and applied within the Flask environment.
Links:
https://docs.google.com/document/d/1XzfTrPxu-asJ_55GoeZ2UOJsie9CuCegStS28BAL_40/
Acceptance Criteria
[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]
GIVEN the code resides in the orchestrator repository
AND the objective is to consolidate it into the harvesting-logic repository
THEN deploy and test the app on cloud.gov and
GIVEN the team has settled on the Table structure
AND it has been defined in an SQLAlchemy file
THEN it should be able to be created programmatically in a Docker container by running a DB initialization script.
GIVEN that the DB has been initialized
WHEN alterations are made to database tables,
THEN execute the database update function to apply updates.
Background
Continuing the work in #4612, implement database table structure update functions within the application logic.
Sketch
The text was updated successfully, but these errors were encountered: