2 package Koha
::Schema
::Result
::AuthSubfieldStructure
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::AuthSubfieldStructure
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<auth_subfield_structure>
22 __PACKAGE__
->table("auth_subfield_structure");
29 default_value: (empty string)
37 default_value: (empty string)
44 default_value: (empty string)
51 default_value: (empty string)
58 default_value: (empty string)
79 =head2 authorised_value
117 default_value: (empty string)
124 default_value: (empty string)
130 data_type: 'mediumtext'
135 __PACKAGE__
->add_columns(
138 data_type
=> "varchar",
145 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 3 },
147 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 1 },
149 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 255 },
151 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 255 },
153 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
155 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
157 { data_type
=> "tinyint", is_nullable
=> 1 },
159 { data_type
=> "varchar", is_nullable
=> 1, size
=> 10 },
161 { data_type
=> "varchar", is_nullable
=> 1, size
=> 80 },
163 { data_type
=> "varchar", is_nullable
=> 1, size
=> 255 },
165 { data_type
=> "tinyint", is_nullable
=> 1 },
167 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
169 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
171 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 1, size
=> 45 },
173 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 10 },
175 { data_type
=> "mediumtext", is_nullable
=> 1 },
182 =item * L</authtypecode>
186 =item * L</tagsubfield>
192 __PACKAGE__
->set_primary_key("authtypecode", "tagfield", "tagsubfield");
200 Related object: L<Koha::Schema::Result::AuthType>
204 __PACKAGE__
->belongs_to(
206 "Koha::Schema::Result::AuthType",
207 { authtypecode
=> "authtypecode" },
208 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
212 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
213 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5Prv/DCQk32mTQaqtYhUuA
215 sub koha_object_class
{
216 'Koha::Authority::Subfield';
218 sub koha_objects_class
{
219 'Koha::Authority::Subfields';