is_foreign_key: 1
is_nullable: 0
-=head2 constrainttype
-
- data_type: 'varchar'
- is_nullable: 1
- size: 1
-
=head2 branchcode
data_type: 'varchar'
datetime_undef_if_invalid: 1
is_nullable: 1
+=head2 itemtype
+
+ data_type: 'varchar'
+ is_foreign_key: 1
+ is_nullable: 1
+ size: 10
+
=cut
__PACKAGE__->add_columns(
is_foreign_key => 1,
is_nullable => 0,
},
- "constrainttype",
- { data_type => "varchar", is_nullable => 1, size => 1 },
"branchcode",
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
"notificationdate",
datetime_undef_if_invalid => 1,
is_nullable => 1,
},
+ "itemtype",
+ { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
);
=head1 PRIMARY KEY
},
);
+=head2 itemtype
+
+Type: belongs_to
-# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-08-18 13:01:05
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jzng9D1Pns0I2PUF7Wssiw
+Related object: L<Koha::Schema::Result::Itemtype>
+
+=cut
+
+__PACKAGE__->belongs_to(
+ "itemtype",
+ "Koha::Schema::Result::Itemtype",
+ { itemtype => "itemtype" },
+ {
+ is_deferrable => 1,
+ join_type => "LEFT",
+ on_delete => "CASCADE",
+ on_update => "CASCADE",
+ },
+);
+
+
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-12-26 12:22:09
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:v9+wPKUT381CLNlusQ4LMA
__PACKAGE__->belongs_to(
"item",
},
);
+__PACKAGE__->add_columns(
+ '+lowestPriority' => { is_boolean => 1 },
+ '+suspend' => { is_boolean => 1 }
+);
+
1;