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 |
-- } |