feat: automatic updates via http and cli
Is your feature request related to a problem? Please describe
Updating Castopod may be sometimes tedious because of the sql scripts that have to be executed manually.
Describe the solution you'd like
Use CodeIgniter4's migration feature to update the SQL schema through a /cp-update
route AND a CLI command to help automate the updates using scripts.
NOTE that there must be a last manual migration to update the cp_migrations
table before being able to automatically update.
Describe alternatives you've considered
--
Additional context
--
Edited by Yassine Doghri