2 package Koha::Schema::Result::MarcSubfieldStructure;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::MarcSubfieldStructure
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<marc_subfield_structure>
22 __PACKAGE__->table("marc_subfield_structure");
29 default_value: (empty string)
36 default_value: (empty string)
43 default_value: (empty string)
50 default_value: (empty string)
77 =head2 authorised_value
110 default_value: (empty string)
128 data_type: 'mediumtext'
139 __PACKAGE__->add_columns(
141 { data_type => "varchar", default_value => "", is_nullable => 0, size => 3 },
143 { data_type => "varchar", default_value => "", is_nullable => 0, size => 1 },
145 { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
147 { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
149 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
151 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
153 { data_type => "varchar", is_nullable => 1, size => 40 },
155 { data_type => "tinyint", is_nullable => 1 },
157 { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 32 },
159 { data_type => "varchar", is_nullable => 1, size => 20 },
161 { data_type => "varchar", is_nullable => 1, size => 80 },
163 { data_type => "tinyint", is_nullable => 1 },
165 { data_type => "tinyint", default_value => 8, is_nullable => 0 },
167 { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 },
169 { data_type => "varchar", is_nullable => 1, size => 1100 },
171 { data_type => "varchar", is_nullable => 1, size => 80 },
173 { data_type => "mediumtext", is_nullable => 1 },
175 { data_type => "integer", default_value => 9999, is_nullable => 0 },
182 =item * L</frameworkcode>
186 =item * L</tagsubfield>
192 __PACKAGE__->set_primary_key("frameworkcode", "tagfield", "tagsubfield");
196 =head2 authorised_value
200 Related object: L<Koha::Schema::Result::AuthorisedValueCategory>
204 __PACKAGE__->belongs_to(
206 "Koha::Schema::Result::AuthorisedValueCategory",
207 { category_name => "authorised_value" },
211 on_delete => "SET NULL",
212 on_update => "CASCADE",
217 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-08-15 08:12:17
218 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pq6quXdds+U1JejYlrkcOw
221 # You can replace this text with custom content, and it will be preserved on regeneration