Name implicitly created CHECK constraints
authorrillke <rainerrillke@hotmail.com>
Tue, 27 May 2014 20:36:51 +0000 (22:36 +0200)
committerBrian Wolff <bawolff+wn@gmail.com>
Mon, 30 Jun 2014 01:05:03 +0000 (22:05 -0300)
commita3f7117f8da41aa2e821544dd63a395b41021857
tree0e9f19994b3923f702a0a298828bc00731a1a9df
parente91fd2fc41cca86283ba1ad9158bc87038c9a416
Name implicitly created CHECK constraints

to ease future maintenance work. The pattern for catching the right
CHECK constraint is admittedly vague but the order in which auto-created
CHECK constraints of a table is removed doesn't really matter assuming
the update is always completed before another update is applied. If
updates are run through Update.php, that should be always the case.

Furthermore eliminating a bug causing application of several patches each
time when running Update.php

Bug: 65757
Bug: 65813
Change-Id: Ic7fc3bd836241dce8f296237bbd80ed3e4d1ee0d
RELEASE-NOTES-1.24
includes/installer/DatabaseUpdater.php [changed mode: 0644->0755]
includes/installer/MssqlUpdater.php [changed mode: 0644->0755]
maintenance/mssql/archives/named_constraints.sql [new file with mode: 0755]
maintenance/mssql/tables.sql [changed mode: 0644->0755]