Jonathan Druart
3 years ago
3 changed files with 21 additions and 21 deletions
@ -1,20 +0,0 @@ |
|||
$DBversion = 'XXX'; # will be replaced by the RM |
|||
if( CheckVersion( $DBversion ) ) { |
|||
|
|||
unless ( column_exists( 'marc_subfield_structure', 'display_order' ) ) { |
|||
$dbh->do(q{ |
|||
ALTER TABLE marc_subfield_structure |
|||
ADD COLUMN display_order INT(2) NOT NULL DEFAULT 0 AFTER maxlength |
|||
}); |
|||
} |
|||
|
|||
unless ( column_exists( 'auth_subfield_structure', 'display_order' ) ) { |
|||
$dbh->do(q{ |
|||
ALTER TABLE auth_subfield_structure |
|||
ADD COLUMN display_order INT(2) NOT NULL DEFAULT 0 AFTER defaultvalue |
|||
}); |
|||
} |
|||
|
|||
# Always end with this (adjust the bug info) |
|||
NewVersion( $DBversion, 8976, "Allow setting a default sequence of subfields in cataloguing editor" ); |
|||
} |
Loading…
Reference in new issue