2 package Koha
::Schema
::Result
::SpecialHoliday
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::SpecialHoliday
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<special_holidays>
22 __PACKAGE__
->table("special_holidays");
66 default_value: (empty string)
72 data_type: 'mediumtext'
77 __PACKAGE__
->add_columns(
79 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
81 { data_type
=> "varchar", is_foreign_key
=> 1, is_nullable
=> 0, size
=> 10 },
83 { data_type
=> "smallint", default_value
=> 0, is_nullable
=> 0 },
85 { data_type
=> "smallint", default_value
=> 0, is_nullable
=> 0 },
87 { data_type
=> "smallint", default_value
=> 0, is_nullable
=> 0 },
89 { data_type
=> "smallint", default_value
=> 1, is_nullable
=> 0 },
91 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 50 },
93 { data_type
=> "mediumtext", is_nullable
=> 0 },
106 __PACKAGE__
->set_primary_key("id");
114 Related object: L<Koha::Schema::Result::Branch>
118 __PACKAGE__
->belongs_to(
120 "Koha::Schema::Result::Branch",
121 { branchcode
=> "branchcode" },
122 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
126 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-20 13:57:27
127 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cj8Oveni0l6kAR/azmw4SA
130 # You can replace this text with custom content, and it will be preserved on regeneration