2 package Koha
::Schema
::Result
::Localization
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Localization
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<localization>
22 __PACKAGE__
->table("localization");
26 =head2 localization_id
57 __PACKAGE__
->add_columns(
59 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
61 { data_type
=> "varchar", is_nullable
=> 0, size
=> 16 },
63 { data_type
=> "varchar", is_nullable
=> 0, size
=> 64 },
65 { data_type
=> "varchar", is_nullable
=> 0, size
=> 25 },
67 { data_type
=> "text", is_nullable
=> 1 },
74 =item * L</localization_id>
80 __PACKAGE__
->set_primary_key("localization_id");
82 =head1 UNIQUE CONSTRAINTS
84 =head2 C<entity_code_lang>
98 __PACKAGE__
->add_unique_constraint("entity_code_lang", ["entity", "code", "lang"]);
101 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-10-27 12:51:15
102 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bYEuhKEE13txmjNiRHk8tA
105 # You can replace this text with custom code or comments, and it will be preserved on regeneration