data_type: 'tinyint'
is_nullable: 1
+=head2 hold_fulfillment_policy
+
+ data_type: 'enum'
+ default_value: 'any'
+ extra: {list => ["any","homebranch","holdingbranch"]}
+ is_nullable: 0
+
=head2 returnbranch
data_type: 'varchar'
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
"holdallowed",
{ data_type => "tinyint", is_nullable => 1 },
+ "hold_fulfillment_policy",
+ {
+ data_type => "enum",
+ default_value => "any",
+ extra => { list => ["any", "homebranch", "holdingbranch"] },
+ is_nullable => 0,
+ },
"returnbranch",
{ data_type => "varchar", is_nullable => 1, size => 15 },
);
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YLO0fLLilsc7tSfx8v/biw
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-29 10:32:00
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yMmvhDqtrKcNeDU9ZJCQZw
# You can replace this text with custom content, and it will be preserved on regeneration
data_type: 'tinyint'
is_nullable: 1
+=head2 hold_fulfillment_policy
+
+ data_type: 'enum'
+ default_value: 'any'
+ extra: {list => ["any","homebranch","holdingbranch"]}
+ is_nullable: 0
+
=head2 returnbranch
data_type: 'varchar'
{ data_type => "integer", is_nullable => 1 },
"holdallowed",
{ data_type => "tinyint", is_nullable => 1 },
+ "hold_fulfillment_policy",
+ {
+ data_type => "enum",
+ default_value => "any",
+ extra => { list => ["any", "homebranch", "holdingbranch"] },
+ is_nullable => 0,
+ },
"returnbranch",
{ data_type => "varchar", is_nullable => 1, size => 15 },
);
);
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-05-13 17:48:39
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:p95r3cEx85NtMTEAgiRgBw
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-29 10:32:00
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wnrxD1/tp8X01YHmys02lg
# You can replace this text with custom content, and it will be preserved on regeneration
data_type: 'tinyint'
is_nullable: 1
+=head2 hold_fulfillment_policy
+
+ data_type: 'enum'
+ default_value: 'any'
+ extra: {list => ["any","homebranch","holdingbranch"]}
+ is_nullable: 0
+
=head2 returnbranch
data_type: 'varchar'
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
"holdallowed",
{ data_type => "tinyint", is_nullable => 1 },
+ "hold_fulfillment_policy",
+ {
+ data_type => "enum",
+ default_value => "any",
+ extra => { list => ["any", "homebranch", "holdingbranch"] },
+ is_nullable => 0,
+ },
"returnbranch",
{ data_type => "varchar", is_nullable => 1, size => 15 },
);
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Mm4EAx13qTr5S02B9dt01g
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-29 10:32:00
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+dEOJjQezQNGILloXC2HfQ
# You can replace this text with custom content, and it will be preserved on regeneration
data_type: 'integer'
is_nullable: 1
+=head2 hold_fulfillment_policy
+
+ data_type: 'enum'
+ default_value: 'any'
+ extra: {list => ["any","homebranch","holdingbranch"]}
+ is_nullable: 0
+
=head2 returnbranch
data_type: 'varchar'
{ data_type => "integer", is_nullable => 1 },
"holdallowed",
{ data_type => "integer", is_nullable => 1 },
+ "hold_fulfillment_policy",
+ {
+ data_type => "enum",
+ default_value => "any",
+ extra => { list => ["any", "homebranch", "holdingbranch"] },
+ is_nullable => 0,
+ },
"returnbranch",
{ data_type => "varchar", is_nullable => 1, size => 15 },
);
__PACKAGE__->set_primary_key("singleton");
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-05-13 17:48:39
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TLEpv+H3v7P3psVl+WMA0Q
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-29 10:32:00
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fqBrj0c9h9c0eBlC0kG51w
# You can replace this text with custom content, and it will be preserved on regeneration
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "RESTRICT",
- on_update => "RESTRICT",
+ on_delete => "CASCADE",
+ on_update => "CASCADE",
},
);
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "RESTRICT",
- on_update => "RESTRICT",
+ on_delete => "CASCADE",
+ on_update => "CASCADE",
},
);
{
is_deferrable => 1,
join_type => "LEFT",
- on_delete => "RESTRICT",
- on_update => "RESTRICT",
+ on_delete => "CASCADE",
+ on_update => "CASCADE",
},
);
-# Created by DBIx::Class::Schema::Loader v0.07033 @ 2015-02-25 10:41:36
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:l4h8AsG2RJupxXQcEw8yzQ
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-29 10:32:00
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:R20sqhX9IbPaonx9HnRKeQ
1;
{ cascade_copy => 0, cascade_delete => 0 },
);
+=head2 old_reserves
-# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-10-22 11:11:19
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nknZ3AB923k+tEw7whtzQA
+Type: has_many
+
+Related object: L<Koha::Schema::Result::OldReserve>
+
+=cut
+
+__PACKAGE__->has_many(
+ "old_reserves",
+ "Koha::Schema::Result::OldReserve",
+ { "foreign.itemtype" => "self.itemtype" },
+ { cascade_copy => 0, cascade_delete => 0 },
+);
+
+=head2 reserves
+
+Type: has_many
+
+Related object: L<Koha::Schema::Result::Reserve>
+
+=cut
+
+__PACKAGE__->has_many(
+ "reserves",
+ "Koha::Schema::Result::Reserve",
+ { "foreign.itemtype" => "self.itemtype" },
+ { cascade_copy => 0, cascade_delete => 0 },
+);
+
+
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-29 10:32:00
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1GiikODklVISOurHX37qjA
# You can replace this text with custom content, and it will be preserved on regeneration