But I have a conceptual question about it.
Usually there are 2 types of DB schema needed:
- one is an empty db (tables only, with no test data) with only some tables initially filled (which act like dictionaries)
- the other is the schema with test data
Empty tables are needed for production server, but test data is needed for testing server and local development.
Can anyone explain how can this be organized with migration mechanism in yii?
Maybe we need to use 2 migrations directories? Who this can be organized better?
How do you guys handle this in your everyday projects?