2 package Koha
::Schema
::Result
::Serial
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Serial
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<serial>
22 __PACKAGE__
->table("serial");
35 default_value: (empty string)
42 default_value: (empty string)
49 default_value: (empty string)
80 datetime_undef_if_invalid: 1
85 data_type: 'mediumtext'
91 datetime_undef_if_invalid: 1
94 =head2 publisheddatetext
103 datetime_undef_if_invalid: 1
114 data_type: 'mediumtext'
119 __PACKAGE__
->add_columns(
121 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
123 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 100 },
125 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 100 },
127 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 100 },
129 { data_type
=> "varchar", is_nullable
=> 1, size
=> 100 },
131 { data_type
=> "varchar", is_nullable
=> 1, size
=> 100 },
133 { data_type
=> "varchar", is_nullable
=> 1, size
=> 100 },
135 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
137 { data_type
=> "date", datetime_undef_if_invalid
=> 1, is_nullable
=> 1 },
139 { data_type
=> "mediumtext", is_nullable
=> 1 },
141 { data_type
=> "date", datetime_undef_if_invalid
=> 1, is_nullable
=> 1 },
143 { data_type
=> "varchar", is_nullable
=> 1, size
=> 100 },
145 { data_type
=> "date", datetime_undef_if_invalid
=> 1, is_nullable
=> 1 },
147 { data_type
=> "integer", default_value
=> 0, is_nullable
=> 1 },
149 { data_type
=> "mediumtext", is_nullable
=> 1 },
162 __PACKAGE__
->set_primary_key("serialid");
170 Related object: L<Koha::Schema::Result::Serialitem>
174 __PACKAGE__
->has_many(
176 "Koha::Schema::Result::Serialitem",
177 { "foreign.serialid" => "self.serialid" },
178 { cascade_copy
=> 0, cascade_delete
=> 0 },
182 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
183 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sRygXoIOnqpdk0lqVMcBdA
186 # You can replace this text with custom code or comments, and it will be preserved on regeneration