Hello! I’m evaluating headless CMS for a project, and wanted to know if cockpit supports any way of programmatic collection creation on startup — preferably via the config on startup, but CLI, HTTP API or an extension would do.
I understand that you can create / edit the collections from the UI, but I’d rather stay away from manual actions as these are tedious to replicate on QA & production, and I don’t see how you would update a running production server without falling into an inconsistent state (with missing collections / wrong schemas).
Accessing the backing database directly and adding collections bypassing cockpit, then manually registering the collection in cockpit could also be an option, but is it safe? Or maybe I’m missing something altogether?