We need to adjust our event_kind enum to have a 'Pending' and 'In Progress' role to adhere to our vision for displaying step-by-step job pipelines.
Implementation
A migration was created to implement this change.
Testing
To test these changes run APP_ENV=development alembic downgrade base and then APP_ENV=development alembic upgrade head.
If you are having trouble running migrations you will need to drop all tables and enums (message @powersaudrey25 or @zmorris248 if you have questions).
Run the orthanc logging script to create a job to verify the app is working.
Problems Faced
We originally had a migration that altered the 'kind' enum column in our 'events 'table. The migration ran successfully but our db was not actually changed. After researching we discovered you need to drop the enum column and recreate it for a change to take effect.
Overview
We need to adjust our event_kind enum to have a 'Pending' and 'In Progress' role to adhere to our vision for displaying step-by-step job pipelines.
Implementation
A migration was created to implement this change.
Testing
To test these changes run APP_ENV=development alembic downgrade base and then APP_ENV=development alembic upgrade head. If you are having trouble running migrations you will need to drop all tables and enums (message @powersaudrey25 or @zmorris248 if you have questions). Run the orthanc logging script to create a job to verify the app is working.
Problems Faced
We originally had a migration that altered the 'kind' enum column in our 'events 'table. The migration ran successfully but our db was not actually changed. After researching we discovered you need to drop the enum column and recreate it for a change to take effect.
Notes