Bug 23260: DBIC
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
c88a86d0af
commit
3d99867f60
|
|
@ -39,7 +39,7 @@ __PACKAGE__->table("items_last_borrower");
|
|||
|
||||
data_type: 'integer'
|
||||
is_foreign_key: 1
|
||||
is_nullable: 0
|
||||
is_nullable: 1
|
||||
|
||||
=head2 created_on
|
||||
|
||||
|
|
@ -56,7 +56,7 @@ __PACKAGE__->add_columns(
|
|||
"itemnumber",
|
||||
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
|
||||
"borrowernumber",
|
||||
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
|
||||
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
|
||||
"created_on",
|
||||
{
|
||||
data_type => "timestamp",
|
||||
|
|
@ -92,7 +92,12 @@ __PACKAGE__->belongs_to(
|
|||
"borrowernumber",
|
||||
"Koha::Schema::Result::Borrower",
|
||||
{ borrowernumber => "borrowernumber" },
|
||||
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
|
||||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_update => "CASCADE",
|
||||
},
|
||||
);
|
||||
|
||||
=head2 itemnumber
|
||||
|
|
@ -111,8 +116,8 @@ __PACKAGE__->belongs_to(
|
|||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-01-22 21:05:23
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KJ4G3ViVgIcXtUqmS18ang
|
||||
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-03-05 14:53:41
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:p6gHIqqhs2O5MD8pxBtV5Q
|
||||
|
||||
|
||||
# You can replace this text with custom code or comments, and it will be preserved on regeneration
|
||||
|
|
|
|||
Loading…
Reference in New Issue