Bug 24083: DBIC schema changes

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2020-11-11 15:34:51 +01:00
parent 887022e0d2
commit fb28f35021
2 changed files with 20 additions and 4 deletions

View File

@ -77,6 +77,12 @@ __PACKAGE__->table("issues");
default_value: 0
is_nullable: 0
=head2 unseen_renewals
data_type: 'tinyint'
default_value: 0
is_nullable: 0
=head2 auto_renew
data_type: 'tinyint'
@ -157,6 +163,8 @@ __PACKAGE__->add_columns(
},
"renewals",
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
"unseen_renewals",
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
"auto_renew",
{ data_type => "tinyint", default_value => 0, is_nullable => 1 },
"auto_renew_error",
@ -292,8 +300,8 @@ __PACKAGE__->might_have(
);
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-09 19:12:26
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Z0qpsT632VLwejUFjIO/ag
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-11 14:23:25
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SbeR9Pgvk2sMd+dYPAiCeA
__PACKAGE__->add_columns(
'+auto_renew' => { is_boolean => 1 },

View File

@ -76,6 +76,12 @@ __PACKAGE__->table("old_issues");
default_value: 0
is_nullable: 0
=head2 unseen_renewals
data_type: 'tinyint'
default_value: 0
is_nullable: 0
=head2 auto_renew
data_type: 'tinyint'
@ -156,6 +162,8 @@ __PACKAGE__->add_columns(
},
"renewals",
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
"unseen_renewals",
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
"auto_renew",
{ data_type => "tinyint", default_value => 0, is_nullable => 1 },
"auto_renew_error",
@ -262,8 +270,8 @@ __PACKAGE__->belongs_to(
);
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-09 19:12:26
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jlgsHwZKoVn/HJD1NP1gqg
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-11 14:23:25
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TvYB0Fiet6DBvDkRf/BRAg
__PACKAGE__->add_columns(
'+auto_renew' => { is_boolean => 1 },