I think this is probably something we need to add in natively, so the best place to start with something like this is an RFC especially as we start getting into the Knex Migrations topic.
I remember a convo like this coming up on GitHub but for some reason I can’t find the related issue. There are a few parts to the cold boot validation:
- Connection pool initialization
- Validation of table/column structure (constraints, indexes, and keys)
- Users-Permissions validation (Checking for roles, permissions)
- Strapi-Admin validation (checking there is at least one registered admin user)
- Core_Store initialization (dumping of the model structure into the core_store and init the views)