RaythaHQ / raytha

Raytha is a powerful CMS with an easy-to-use interface and fast performance. It offers custom content types, a template engine, and various access controls. It supports multiple storage providers and an automatically generated REST API. Upgrade your development workflow with Raytha.
MIT License
143 stars 30 forks source link

Apply pending migrations on startup #192

Closed apexdodge closed 2 months ago

apexdodge commented 2 months ago

For Raytha, it makes sense to optionally support applying pending migrations automatically on startup.

https://stackoverflow.com/a/43521226

This is especially useful for people who want to run raytha in a docker container, they can simply update the container to the new version (or leave on latest tag) and re-deploy and it will keep raytha up to date without having to apply a migration script. This is basically the closest you can get to a wordpress-like upgrade methodology.