# - #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 = "19.12.00.072";
+$VERSION = "19.12.00.073";
sub version {
return $VERSION;
=head2 closed
- data_type: 'integer'
+ data_type: 'tinyint'
default_value: 0
is_nullable: 0
"enddate",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"closed",
- { data_type => "integer", default_value => 0, is_nullable => 0 },
+ { data_type => "tinyint", default_value => 0, is_nullable => 0 },
"reneweddate",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"itemtype",
);
-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-01-23 12:56:39
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dTb/JOO3KQ3NZGypFbRiEw
+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-04-15 11:35:38
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5zW2XKZNcvytO8svTJ4ijQ
__PACKAGE__->has_many(
"additional_field_values",
{ cascade_copy => 0, cascade_delete => 0 },
);
+__PACKAGE__->add_columns(
+ '+closed' => { is_boolean => 1 },
+);
+
# You can replace this text with custom content, and it will be preserved on regeneration
1;
+++ /dev/null
-$DBversion = 'XXX'; # will be replaced by the RM
-if( CheckVersion( $DBversion ) ) {
- $dbh->do( "ALTER TABLE subscription MODIFY COLUMN closed tinyint(1) not null default 0" );
-
- NewVersion( $DBversion, 25152, "Description");
-}
NewVersion( $DBversion, 24380, "Add syspref CalculateFinesOnBackdate");
}
+$DBversion = '19.12.00.073';
+if( CheckVersion( $DBversion ) ) {
+ $dbh->do( "ALTER TABLE subscription MODIFY COLUMN closed tinyint(1) not null default 0" );
+
+ NewVersion( $DBversion, 25152, "Description");
+}
+
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.
my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';