Bug 21729: Update DBIC schema

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Fridolin Somers 2022-01-28 10:08:48 -10:00
parent 3d9dfe8e8c
commit e1f7f3a661
2 changed files with 25 additions and 5 deletions

View File

@ -157,6 +157,14 @@ the date the item was marked as waiting for the patron at the library
the date the hold expires (usually the date entered by the patron to say they don't need the hold after a certain date)
=head2 patron_expiration_date
data_type: 'date'
datetime_undef_if_invalid: 1
is_nullable: 1
the date the hold expires - usually the date entered by the patron to say they don't need the hold after a certain date
=head2 lowestPriority
accessor: 'lowest_priority'
@ -249,6 +257,8 @@ __PACKAGE__->add_columns(
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"expirationdate",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"patron_expiration_date",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"lowestPriority",
{
accessor => "lowest_priority",
@ -367,8 +377,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:aVQsdX811LswCsWyBqkSbQ
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-01-28 20:08:09
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:A3iHpf4nDeIpPsapNzdv8w
__PACKAGE__->belongs_to(
"item",

View File

@ -160,7 +160,15 @@ the date the item was marked as waiting for the patron at the library
datetime_undef_if_invalid: 1
is_nullable: 1
the date the hold expires (usually the date entered by the patron to say they don't need the hold after a certain date)
the date the hold expires (calculated value)
=head2 patron_expiration_date
data_type: 'date'
datetime_undef_if_invalid: 1
is_nullable: 1
the date the hold expires - usually the date entered by the patron to say they don't need the hold after a certain date
=head2 lowestPriority
@ -258,6 +266,8 @@ __PACKAGE__->add_columns(
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"expirationdate",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"patron_expiration_date",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"lowestPriority",
{
accessor => "lowest_priority",
@ -421,8 +431,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:BlMb2M0MEmFuTiMSSBEseg
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-01-28 20:08:09
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7Q8/GFCOkXdn+jg69HZ0GQ
__PACKAGE__->belongs_to(
"item",