|
|
@ -33,6 +33,7 @@ __PACKAGE__->table("items"); |
|
|
|
|
|
|
|
data_type: 'integer' |
|
|
|
default_value: 0 |
|
|
|
is_foreign_key: 1 |
|
|
|
is_nullable: 0 |
|
|
|
|
|
|
|
=head2 biblioitemnumber |
|
|
@ -285,7 +286,12 @@ __PACKAGE__->add_columns( |
|
|
|
"itemnumber", |
|
|
|
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
|
|
|
"biblionumber", |
|
|
|
{ data_type => "integer", default_value => 0, is_nullable => 0 }, |
|
|
|
{ |
|
|
|
data_type => "integer", |
|
|
|
default_value => 0, |
|
|
|
is_foreign_key => 1, |
|
|
|
is_nullable => 0, |
|
|
|
}, |
|
|
|
"biblioitemnumber", |
|
|
|
{ |
|
|
|
data_type => "integer", |
|
|
@ -448,6 +454,21 @@ __PACKAGE__->belongs_to( |
|
|
|
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
|
|
|
); |
|
|
|
|
|
|
|
=head2 biblionumber |
|
|
|
|
|
|
|
Type: belongs_to |
|
|
|
|
|
|
|
Related object: L<Koha::Schema::Result::Biblio> |
|
|
|
|
|
|
|
=cut |
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
|
|
|
"biblionumber", |
|
|
|
"Koha::Schema::Result::Biblio", |
|
|
|
{ biblionumber => "biblionumber" }, |
|
|
|
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
|
|
|
); |
|
|
|
|
|
|
|
=head2 branchtransfers |
|
|
|
|
|
|
|
Type: has_many |
|
|
@ -639,8 +660,8 @@ __PACKAGE__->might_have( |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-31 17:10:17 |
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:f3uSqG4SRK96xnD8HnhcFA |
|
|
|
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-05-03 18:29:16 |
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2XK/xYWHqauPzYKJcKc0ig |
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" ); |
|
|
|
|
|
|
|