Bug 11844: Use additional fields for order lines
[koha.git] / Koha / Schema / Result / LanguageRfc4646ToIso639.pm
1 use utf8;
2 package Koha::Schema::Result::LanguageRfc4646ToIso639;
3
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6
7 =head1 NAME
8
9 Koha::Schema::Result::LanguageRfc4646ToIso639
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<language_rfc4646_to_iso639>
19
20 =cut
21
22 __PACKAGE__->table("language_rfc4646_to_iso639");
23
24 =head1 ACCESSORS
25
26 =head2 rfc4646_subtag
27
28   data_type: 'varchar'
29   is_nullable: 1
30   size: 25
31
32 =head2 iso639_2_code
33
34   data_type: 'varchar'
35   is_nullable: 1
36   size: 25
37
38 =head2 id
39
40   data_type: 'integer'
41   is_auto_increment: 1
42   is_nullable: 0
43
44 =cut
45
46 __PACKAGE__->add_columns(
47   "rfc4646_subtag",
48   { data_type => "varchar", is_nullable => 1, size => 25 },
49   "iso639_2_code",
50   { data_type => "varchar", is_nullable => 1, size => 25 },
51   "id",
52   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
53 );
54
55 =head1 PRIMARY KEY
56
57 =over 4
58
59 =item * L</id>
60
61 =back
62
63 =cut
64
65 __PACKAGE__->set_primary_key("id");
66
67 =head1 UNIQUE CONSTRAINTS
68
69 =head2 C<uniq_code>
70
71 =over 4
72
73 =item * L</rfc4646_subtag>
74
75 =item * L</iso639_2_code>
76
77 =back
78
79 =cut
80
81 __PACKAGE__->add_unique_constraint("uniq_code", ["rfc4646_subtag", "iso639_2_code"]);
82
83
84 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-02-02 07:13:00
85 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8PERWsCJ6PY9XHzD++SXTQ
86
87
88 # You can replace this text with custom content, and it will be preserved on regeneration
89 1;