2 package Koha
::Schema
::Result
::AuthType
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::AuthType
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<auth_types>
22 __PACKAGE__
->table("auth_types");
29 default_value: (empty string)
36 default_value: (empty string)
40 =head2 auth_tag_to_report
43 default_value: (empty string)
49 data_type: 'mediumtext'
54 __PACKAGE__
->add_columns(
56 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 10 },
58 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 255 },
60 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 3 },
62 { data_type
=> "mediumtext", is_nullable
=> 0 },
69 =item * L</authtypecode>
75 __PACKAGE__
->set_primary_key("authtypecode");
79 =head2 auth_subfield_structures
83 Related object: L<Koha::Schema::Result::AuthSubfieldStructure>
87 __PACKAGE__
->has_many(
88 "auth_subfield_structures",
89 "Koha::Schema::Result::AuthSubfieldStructure",
90 { "foreign.authtypecode" => "self.authtypecode" },
91 { cascade_copy
=> 0, cascade_delete
=> 0 },
94 =head2 auth_tag_structures
98 Related object: L<Koha::Schema::Result::AuthTagStructure>
102 __PACKAGE__
->has_many(
103 "auth_tag_structures",
104 "Koha::Schema::Result::AuthTagStructure",
105 { "foreign.authtypecode" => "self.authtypecode" },
106 { cascade_copy
=> 0, cascade_delete
=> 0 },
110 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-05-18 11:22:30
111 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FELYJXziUcU7+b/X8SaDwA
114 # You can replace this text with custom content, and it will be preserved on regeneration