Bug 12365: DBRev 18.06.00.055

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2018-11-08 12:09:37 +00:00
parent ccae80f5e8
commit 09c76aa010
3 changed files with 10 additions and 10 deletions

View File

@ -29,7 +29,7 @@ use vars qw{ $VERSION };
# - #4 : the developer version. The 4th number is the database subversion.
# used by developers when the database changes. updatedatabase take care of the changes itself
# and is automatically called by Auth.pm when needed.
$VERSION = "18.06.00.054";
$VERSION = "18.06.00.055";
sub version {
return $VERSION;

View File

@ -1,9 +0,0 @@
$DBversion = 'XXX';
if( CheckVersion( $DBversion ) ) {
unless( column_exists( 'issuingrules', 'note' ) ) {
$dbh->do(q|ALTER TABLE `issuingrules` ADD `note` varchar(100) default NULL AFTER `article_requests`|);
}
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 12365: Add column issuingrules.note)\n";
}

View File

@ -16925,6 +16925,15 @@ if( CheckVersion( $DBversion ) ) {
print "Upgrade to $DBversion done (Bug 18316 - Add column search_field.weight)\n";
}
$DBversion = '18.06.00.055';
if( CheckVersion( $DBversion ) ) {
unless( column_exists( 'issuingrules', 'note' ) ) {
$dbh->do(q|ALTER TABLE `issuingrules` ADD `note` varchar(100) default NULL AFTER `article_requests`|);
}
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 12365: Add column issuingrules.note)\n";
}
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.