-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Epic] Automatic schema updates in a deployment #2145
Comments
/triage accepted CC @codificat if this needs better labeling. |
it is perfect, thanks! Having said that, let me add: |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with /lifecycle rotten |
/remove-lifecycle rotten |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with /lifecycle rotten |
/remove-lifecycle rotten |
Is your feature request related to a problem? Please describe.
If there are schema changes, new components are updated and they all run code that expects new schema. Once the release is done, one needs to manually trigger the schema update procedure in the deployment so that the database schema matches code run in components.
The manual schema update is prone to errors and we can easily forgot to run the update.
Describe the solution you'd like
Create a mechanism that runs schema update on each release, as necessary. This can be a simple job that is run on each new release and makes sure the database schema is updated.
Describe alternatives you've considered
Keep this as a manual procedure, but that is prone to errors.
Additional context
As of now, we have schema updates in workflow-helpers.
It would be great if the update procedure would report any issues so a rollback can be done (also on components level so the system keeps operational).
Acceptance criteria
Goal
The text was updated successfully, but these errors were encountered: