2 package Koha
::Schema
::Result
::RepeatableHoliday
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::RepeatableHoliday
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<repeatable_holidays>
22 __PACKAGE__
->table("repeatable_holidays");
57 default_value: (empty string)
63 data_type: 'mediumtext'
68 __PACKAGE__
->add_columns(
70 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
72 { data_type
=> "varchar", is_foreign_key
=> 1, is_nullable
=> 0, size
=> 10 },
74 { data_type
=> "smallint", is_nullable
=> 1 },
76 { data_type
=> "smallint", is_nullable
=> 1 },
78 { data_type
=> "smallint", is_nullable
=> 1 },
80 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 50 },
82 { data_type
=> "mediumtext", is_nullable
=> 0 },
95 __PACKAGE__
->set_primary_key("id");
103 Related object: L<Koha::Schema::Result::Branch>
107 __PACKAGE__
->belongs_to(
109 "Koha::Schema::Result::Branch",
110 { branchcode
=> "branchcode" },
111 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
115 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-20 13:57:27
116 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bBw2WEvzF5sX+AOteNsPPQ
119 # You can replace this text with custom content, and it will be preserved on regeneration