PhpGt / Database

Database query organisation.
https://php.gt/database
MIT License
3 stars 3 forks source link

Migrate development data #345

Open g105b opened 1 year ago

g105b commented 1 year ago

I'm finding it more and more useful to have some pre-seeded fake data in the database during development, but this sort of data can't end up in a migration.

Would it be a good idea to have a query/_migration/dev directory to apply AFTER the migration completes for the first time (or with --force), that's only applied on development - maybe with a --dev flag?