Bug 11529: DBIx schema changes
[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 ind1_defaultvalue
66
67   data_type: 'varchar'
68   default_value: (empty string)
69   is_nullable: 0
70   size: 1
71
72 =head2 ind2_defaultvalue
73
74   data_type: 'varchar'
75   default_value: (empty string)
76   is_nullable: 0
77   size: 1
78
79 =head2 frameworkcode
80
81   data_type: 'varchar'
82   default_value: (empty string)
83   is_nullable: 0
84   size: 4
85
86 =cut
87
88 __PACKAGE__->add_columns(
89   "tagfield",
90   { data_type => "varchar", default_value => "", is_nullable => 0, size => 3 },
91   "liblibrarian",
92   { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
93   "libopac",
94   { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
95   "repeatable",
96   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
97   "mandatory",
98   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
99   "authorised_value",
100   { data_type => "varchar", is_nullable => 1, size => 10 },
101   "ind1_defaultvalue",
102   { data_type => "varchar", default_value => "", is_nullable => 0, size => 1 },
103   "ind2_defaultvalue",
104   { data_type => "varchar", default_value => "", is_nullable => 0, size => 1 },
105   "frameworkcode",
106   { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 },
107 );
108
109 =head1 PRIMARY KEY
110
111 =over 4
112
113 =item * L</frameworkcode>
114
115 =item * L</tagfield>
116
117 =back
118
119 =cut
120
121 __PACKAGE__->set_primary_key("frameworkcode", "tagfield");
122
123
124 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-04-09 09:07:51
125 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6EvGakEpGreV0hom7P6Efg
126
127
128 # You can replace this text with custom content, and it will be preserved on regeneration
129 1;