2 package Koha
::Schema
::Result
::Illrequestattribute
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Illrequestattribute
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<illrequestattributes>
22 __PACKAGE__
->table("illrequestattributes");
29 extra: {unsigned => 1}
41 data_type: 'mediumtext'
52 __PACKAGE__
->add_columns(
55 data_type
=> "bigint",
56 extra
=> { unsigned
=> 1 },
61 { data_type
=> "varchar", is_nullable
=> 0, size
=> 200 },
63 { data_type
=> "mediumtext", is_nullable
=> 0 },
65 { data_type
=> "tinyint", default_value
=> 1, is_nullable
=> 0 },
72 =item * L</illrequest_id>
80 __PACKAGE__
->set_primary_key("illrequest_id", "type");
88 Related object: L<Koha::Schema::Result::Illrequest>
92 __PACKAGE__
->belongs_to(
94 "Koha::Schema::Result::Illrequest",
95 { illrequest_id
=> "illrequest_id" },
96 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
100 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-05-17 09:17:53
101 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sFY1giVMz5AkXCPidhyGjw
103 __PACKAGE__
->add_columns(
104 '+readonly' => { is_boolean
=> 1 }