Bug 30275: renewals_count DBIC Update

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Martin Renvoize 2022-03-11 15:22:01 +00:00 committed by Tomas Cohen Arazi
parent 2d64b3ce8a
commit 8a8d5ce582
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 8 additions and 8 deletions

View file

@ -87,7 +87,7 @@ date the item was returned, will be NULL until moved to old_issues
date the item was last renewed
=head2 renewals
=head2 renewals_count
data_type: 'tinyint'
default_value: 0
@ -197,7 +197,7 @@ __PACKAGE__->add_columns(
datetime_undef_if_invalid => 1,
is_nullable => 1,
},
"renewals",
"renewals_count",
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
"unseen_renewals",
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
@ -321,8 +321,8 @@ __PACKAGE__->belongs_to(
);
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-11-17 10:01:24
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kDcP8DNMT8sLUmzBFfz3fg
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-03-11 15:10:14
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TERiBbm+B4jMEuNM2dVbfQ
__PACKAGE__->add_columns(
'+auto_renew' => { is_boolean => 1 },

View file

@ -86,7 +86,7 @@ date the item was returned
date the item was last renewed
=head2 renewals
=head2 renewals_count
data_type: 'tinyint'
default_value: 0
@ -196,7 +196,7 @@ __PACKAGE__->add_columns(
datetime_undef_if_invalid => 1,
is_nullable => 1,
},
"renewals",
"renewals_count",
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
"unseen_renewals",
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
@ -306,8 +306,8 @@ __PACKAGE__->belongs_to(
);
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BWwXBAuls9a0HhscR0WlGQ
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-03-18 12:35:21
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0XlDHyg8uB3oD9/jJtOxRg
__PACKAGE__->add_columns(
'+auto_renew' => { is_boolean => 1 },