Bug 30648: DBIC Schema updates

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Lucas Gass 2024-12-05 16:46:55 +00:00
parent 2d06825508
commit 8ec3887b94
2 changed files with 22 additions and 4 deletions

View File

@ -54,6 +54,13 @@ the date the hold was places
foreign key from the biblio table defining which bib record this hold is on
=head2 deleted_biblionumber
data_type: 'integer'
is_nullable: 1
links the reserve to the deleted bibliographic record (deletedbiblio.biblionumber)
=head2 item_group_id
data_type: 'integer'
@ -235,6 +242,8 @@ __PACKAGE__->add_columns(
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"biblionumber",
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
"deleted_biblionumber",
{ data_type => "integer", is_nullable => 1 },
"item_group_id",
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
"branchcode",
@ -428,8 +437,8 @@ __PACKAGE__->belongs_to(
);
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-04-05 06:44:57
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SQp2OEYb3im1x3A+W0h37w
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-12-05 16:46:06
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:droS+czhyVcRgVqOF06sQg
__PACKAGE__->belongs_to(
"item",

View File

@ -57,6 +57,13 @@ the date the hold was placed
foreign key from the biblio table defining which bib record this hold is on
=head2 deleted_biblionumber
data_type: 'integer'
is_nullable: 1
links the reserve to the deleted bibliographic record (deletedbiblio.biblionumber)
=head2 item_group_id
data_type: 'integer'
@ -243,6 +250,8 @@ __PACKAGE__->add_columns(
is_foreign_key => 1,
is_nullable => 0,
},
"deleted_biblionumber",
{ data_type => "integer", is_nullable => 1 },
"item_group_id",
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
"branchcode",
@ -456,8 +465,8 @@ __PACKAGE__->belongs_to(
);
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-01 18:21:38
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6BAjuPSwjtyWJaJN9fcOtg
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-12-05 16:46:06
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ljjbd9tYWR6AXmEyrg/sog
__PACKAGE__->belongs_to(
"item",