(no title)
tony-vlcek | 4 months ago
There 3 types of migration files/scripts: structure, basic-data, dummy-data.
structure - new table, add column goes here basic-data - e.g. default config values go here dummy-data - gets used on local and stating
Run migrations with a flag to include the dummy-data migrations.
benoau|4 months ago
The big benefit here is not just your staging database, but everybody's locally running databases also get prepopulated data which is really useful for development and testing.