Bug 30047: DBIC schema update
[koha.git] / Koha / Schema / Result / AuthHeader.pm
1 use utf8;
2 package Koha::Schema::Result::AuthHeader;
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::AuthHeader
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<auth_header>
19
20 =cut
21
22 __PACKAGE__->table("auth_header");
23
24 =head1 ACCESSORS
25
26 =head2 authid
27
28   data_type: 'bigint'
29   extra: {unsigned => 1}
30   is_auto_increment: 1
31   is_nullable: 0
32
33 =head2 authtypecode
34
35   data_type: 'varchar'
36   default_value: (empty string)
37   is_nullable: 0
38   size: 10
39
40 =head2 datecreated
41
42   data_type: 'date'
43   datetime_undef_if_invalid: 1
44   is_nullable: 1
45
46 =head2 modification_time
47
48   data_type: 'timestamp'
49   datetime_undef_if_invalid: 1
50   default_value: current_timestamp
51   is_nullable: 0
52
53 =head2 heading
54
55   data_type: 'longtext'
56   is_nullable: 1
57
58 =head2 origincode
59
60   data_type: 'varchar'
61   is_nullable: 1
62   size: 20
63
64 =head2 authtrees
65
66   data_type: 'longtext'
67   is_nullable: 1
68
69 =head2 marc
70
71   data_type: 'blob'
72   is_nullable: 1
73
74 =head2 linkid
75
76   data_type: 'bigint'
77   is_nullable: 1
78
79 =head2 marcxml
80
81   data_type: 'longtext'
82   is_nullable: 0
83
84 =cut
85
86 __PACKAGE__->add_columns(
87   "authid",
88   {
89     data_type => "bigint",
90     extra => { unsigned => 1 },
91     is_auto_increment => 1,
92     is_nullable => 0,
93   },
94   "authtypecode",
95   { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
96   "datecreated",
97   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
98   "modification_time",
99   {
100     data_type => "timestamp",
101     datetime_undef_if_invalid => 1,
102     default_value => \"current_timestamp",
103     is_nullable => 0,
104   },
105   "heading",
106   { data_type => "longtext", is_nullable => 1 },
107   "origincode",
108   { data_type => "varchar", is_nullable => 1, size => 20 },
109   "authtrees",
110   { data_type => "longtext", is_nullable => 1 },
111   "marc",
112   { data_type => "blob", is_nullable => 1 },
113   "linkid",
114   { data_type => "bigint", is_nullable => 1 },
115   "marcxml",
116   { data_type => "longtext", is_nullable => 0 },
117 );
118
119 =head1 PRIMARY KEY
120
121 =over 4
122
123 =item * L</authid>
124
125 =back
126
127 =cut
128
129 __PACKAGE__->set_primary_key("authid");
130
131
132 # Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-05-10 14:00:56
133 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gYG6yQ6EC5gVMZHF1h6MJA
134
135 sub koha_object_class {
136     'Koha::Authority';
137 }
138 sub koha_objects_class {
139     'Koha::Authorities';
140 }
141
142 1;