- The migrations itself are transactional (so when everything goes wrong, you get another shot).
- The migrations reinsert the data after the upgrade.
- When adding a required property to an existing entity a not-null column is added to the table. Existing records get a default value.
- When making an existing property required make sure all existing records have a value for the soon to be not null column. If not the upgrade will result in an error.
Geen opmerkingen:
Een reactie posten