View | Details | Raw Unified | Return to bug 8643
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug-8643-add_important_constraint.sql (-1 / +10 lines)
Line 0 Link Here
0
- 
1
ALTER TABLE marc_subfield_structure ADD COLUMN important TINYINT(4) NOT NULL DEFAULT 0  AFTER mandatory;
2
ALTER TABLE marc_tag_structure ADD COLUMN important TINYINT(4) NOT NULL DEFAULT 0  AFTER frameworkcode;
3
4
-- $DBversion = "3.23.00.XXX";
5
-- if ( CheckVersion($DBversion) ) {
6
--     $dbh->do("ALTER TABLE marc_subfield_structure ADD COLUMN important TINYINT(4) NOT NULL DEFAULT 0  AFTER mandatory");
7
--     $dbh->do("ALTER TABLE marc_tag_structure ADD COLUMN important TINYINT(4) NOT NULL DEFAULT 0  AFTER frameworkcode");
8
--     print "Upgrade to $DBversion done (Bug 8643 - Add important constraint to marc subfields)\n";
9
--     SetVersion($DBversion);
10
-- }

Return to bug 8643