Finalizing a V3 to V4 migration, using the v3-sql-v4-sql script and instructions state to Run Strapi v4 in develop mode with empty DB to generate the DB structure. This can be done easily in a dev environment, but not in production. A very lazy way would be to run a container with entrypoint npm run develop and at some point kill the pipeline/container, but ideally would like to not have to guess in how much time is necessary.
What is the recommended way to automate populating an empty postgres db, ahead of running the v4 migration script?
This topic has been created from a Discord post (1260984874777710612) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord