Bug 15531 - DBRev 3.23.00.057

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Kyle M Hall 2016-04-29 13:14:50 +00:00
parent 26297903e4
commit 3615c7b34b
4 changed files with 14 additions and 5 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 = "3.23.00.056";
$VERSION = "3.23.00.057";
sub version {
return $VERSION;

View File

@ -297,9 +297,9 @@ Composing rels: L</aqbasketusers> -> borrowernumber
__PACKAGE__->many_to_many("borrowernumbers", "aqbasketusers", "borrowernumber");
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-01-14 16:28:06
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CuP/8SFJOD4h4XZf7AdeiA
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-29 13:13:55
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6gRJtrZ6ZXLHjqX281d9Hg
# You can replace this text with custom content, and it will be preserved on regeneration
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;

View File

@ -1 +0,0 @@
ALTER TABLE aqbasket ADD COLUMN is_standing TINYINT(1) NOT NULL DEFAULT 0 AFTER branch;

View File

@ -12482,6 +12482,16 @@ if ( CheckVersion($DBversion) ) {
SetVersion($DBversion);
}
$DBversion = "3.23.00.057";
if ( CheckVersion($DBversion) ) {
$dbh->do(q{
ALTER TABLE aqbasket ADD COLUMN is_standing TINYINT(1) NOT NULL DEFAULT 0 AFTER branch;
});
print "Upgrade to $DBversion done (Bug 15531 - Add support for standing orders)\n";
SetVersion($DBversion);
}
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
# SEE bug 13068