Bug 8976: DBIC schema changes
[koha.git] / Koha / Schema / Result / LanguageSubtagRegistry.pm
1 use utf8;
2 package Koha::Schema::Result::LanguageSubtagRegistry;
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::LanguageSubtagRegistry
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<language_subtag_registry>
19
20 =cut
21
22 __PACKAGE__->table("language_subtag_registry");
23
24 =head1 ACCESSORS
25
26 =head2 subtag
27
28   data_type: 'varchar'
29   is_nullable: 1
30   size: 25
31
32 =head2 type
33
34   data_type: 'varchar'
35   is_nullable: 1
36   size: 25
37
38 language-script-region-variant-extension-privateuse
39
40 =head2 description
41
42   data_type: 'varchar'
43   is_nullable: 1
44   size: 25
45
46 only one of the possible descriptions for ease of reference, see language_descriptions for the complete list
47
48 =head2 added
49
50   data_type: 'date'
51   datetime_undef_if_invalid: 1
52   is_nullable: 1
53
54 =head2 id
55
56   data_type: 'integer'
57   is_auto_increment: 1
58   is_nullable: 0
59
60 =cut
61
62 __PACKAGE__->add_columns(
63   "subtag",
64   { data_type => "varchar", is_nullable => 1, size => 25 },
65   "type",
66   { data_type => "varchar", is_nullable => 1, size => 25 },
67   "description",
68   { data_type => "varchar", is_nullable => 1, size => 25 },
69   "added",
70   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
71   "id",
72   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
73 );
74
75 =head1 PRIMARY KEY
76
77 =over 4
78
79 =item * L</id>
80
81 =back
82
83 =cut
84
85 __PACKAGE__->set_primary_key("id");
86
87
88 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
89 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:M4QL1kgte1o/Wz+XjSduWA
90
91
92 # You can replace this text with custom content, and it will be preserved on regeneration
93 1;