|
|
|
|
|
by dontJudge
3241 days ago
|
|
You will save a lot of headache if you embrace the fact DB deployment scripts are "patches", not "rebuilds". Write your sql scripts as a serious of patches to deploy against a version of the DB. Generation of the deployment script using a diff has so many holes. Renames can be misinterpreted as drop/create. It falls apart with data to insert/deleted. Ordering can't always be calculated. |
|