2 package Koha
::Schema
::Result
::ClubField
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::ClubField
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<club_fields>
22 __PACKAGE__
->table("club_fields");
32 =head2 club_template_field_id
46 data_type: 'mediumtext'
51 __PACKAGE__
->add_columns(
53 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
54 "club_template_field_id",
55 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
57 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
59 { data_type
=> "mediumtext", is_nullable
=> 1 },
72 __PACKAGE__
->set_primary_key("id");
80 Related object: L<Koha::Schema::Result::Club>
84 __PACKAGE__
->belongs_to(
86 "Koha::Schema::Result::Club",
88 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
91 =head2 club_template_field
95 Related object: L<Koha::Schema::Result::ClubTemplateField>
99 __PACKAGE__
->belongs_to(
100 "club_template_field",
101 "Koha::Schema::Result::ClubTemplateField",
102 { id
=> "club_template_field_id" },
103 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
107 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
108 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2ySSLrl8GXRXJ38AWg6kng
110 sub koha_object_class
{
113 sub koha_objects_class
{
114 'Koha::Club::Fields';