Bug 8798: DBIx::Class base classes for all Koha tables
[koha.git] / Koha / Schema / Result / LanguageSubtagRegistry.pm
1 package Koha::Schema::Result::LanguageSubtagRegistry;
2
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
5
6 use strict;
7 use warnings;
8
9 use base 'DBIx::Class::Core';
10
11
12 =head1 NAME
13
14 Koha::Schema::Result::LanguageSubtagRegistry
15
16 =cut
17
18 __PACKAGE__->table("language_subtag_registry");
19
20 =head1 ACCESSORS
21
22 =head2 subtag
23
24   data_type: 'varchar'
25   is_nullable: 1
26   size: 25
27
28 =head2 type
29
30   data_type: 'varchar'
31   is_nullable: 1
32   size: 25
33
34 =head2 description
35
36   data_type: 'varchar'
37   is_nullable: 1
38   size: 25
39
40 =head2 added
41
42   data_type: 'date'
43   is_nullable: 1
44
45 =head2 id
46
47   data_type: 'integer'
48   is_auto_increment: 1
49   is_nullable: 0
50
51 =cut
52
53 __PACKAGE__->add_columns(
54   "subtag",
55   { data_type => "varchar", is_nullable => 1, size => 25 },
56   "type",
57   { data_type => "varchar", is_nullable => 1, size => 25 },
58   "description",
59   { data_type => "varchar", is_nullable => 1, size => 25 },
60   "added",
61   { data_type => "date", is_nullable => 1 },
62   "id",
63   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
64 );
65 __PACKAGE__->set_primary_key("id");
66
67
68 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
69 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3XkyaSdpFe0F5KktVox9nQ
70
71
72 # You can replace this text with custom content, and it will be preserved on regeneration
73 1;