Bug 12478: update the schema
[koha.git] / Koha / Schema / Result / MarcTagStructure.pm
1 use utf8;
2 package Koha::Schema::Result::MarcTagStructure;
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::MarcTagStructure
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<marc_tag_structure>
19
20 =cut
21
22 __PACKAGE__->table("marc_tag_structure");
23
24 =head1 ACCESSORS
25
26 =head2 tagfield
27
28   data_type: 'varchar'
29   default_value: (empty string)
30   is_nullable: 0
31   size: 3
32
33 =head2 liblibrarian
34
35   data_type: 'varchar'
36   default_value: (empty string)
37   is_nullable: 0
38   size: 255
39
40 =head2 libopac
41
42   data_type: 'varchar'
43   default_value: (empty string)
44   is_nullable: 0
45   size: 255
46
47 =head2 repeatable
48
49   data_type: 'tinyint'
50   default_value: 0
51   is_nullable: 0
52
53 =head2 mandatory
54
55   data_type: 'tinyint'
56   default_value: 0
57   is_nullable: 0
58
59 =head2 authorised_value
60
61   data_type: 'varchar'
62   is_nullable: 1
63   size: 10
64
65 =head2 frameworkcode
66
67   data_type: 'varchar'
68   default_value: (empty string)
69   is_nullable: 0
70   size: 4
71
72 =cut
73
74 __PACKAGE__->add_columns(
75   "tagfield",
76   { data_type => "varchar", default_value => "", is_nullable => 0, size => 3 },
77   "liblibrarian",
78   { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
79   "libopac",
80   { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
81   "repeatable",
82   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
83   "mandatory",
84   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
85   "authorised_value",
86   { data_type => "varchar", is_nullable => 1, size => 10 },
87   "frameworkcode",
88   { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 },
89 );
90
91 =head1 PRIMARY KEY
92
93 =over 4
94
95 =item * L</frameworkcode>
96
97 =item * L</tagfield>
98
99 =back
100
101 =cut
102
103 __PACKAGE__->set_primary_key("frameworkcode", "tagfield");
104
105
106 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
107 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TvdQBCX3rEhJxxqGcqrpWw
108
109
110 # You can replace this text with custom content, and it will be preserved on regeneration
111 1;