# - #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.12.00.006";
+$VERSION = "18.12.00.007";
sub version {
return $VERSION;
data_type: 'integer'
is_nullable: 1
-=head2 chargename
-
- data_type: 'varchar'
- is_nullable: 1
- size: 100
-
=head2 maxissueqty
data_type: 'integer'
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
"accountsent",
{ data_type => "integer", is_nullable => 1 },
- "chargename",
- { data_type => "varchar", is_nullable => 1, size => 100 },
"maxissueqty",
{ data_type => "integer", is_nullable => 1 },
"maxonsiteissueqty",
__PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype");
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-11-08 17:41:17
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vOr4mEAacS5WKLQifgT8EA
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-01-04 03:06:35
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:slPyHZs0YvOKev3cAxdDJQ
# You can replace this text with custom code or comments, and it will be preserved on regeneration
+++ /dev/null
-$DBversion = 'XXX'; # will be replaced by the RM
-if( CheckVersion( $DBversion ) ) {
- if( column_exists( 'issuingrules', 'chargename' ) ) {
- $dbh->do( "ALTER TABLE issuingrules DROP chargename" );
- }
-
- # Always end with this (adjust the bug info)
- SetVersion( $DBversion );
- print "Upgrade to $DBversion done (Bug 21753: Drop chargename from issuingrules )\n";
-}
print "Upgrade to $DBversion done (Bug 21915 - Add a way to automatically reconcile balance for patrons)\n";
}
+$DBversion = '18.12.00.007';
+if( CheckVersion( $DBversion ) ) {
+ if( column_exists( 'issuingrules', 'chargename' ) ) {
+ $dbh->do( "ALTER TABLE issuingrules DROP chargename" );
+ }
+ SetVersion( $DBversion );
+ print "Upgrade to $DBversion done (Bug 21753: Drop chargename from issuingrules )\n";
+}
+
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.