Bug 21395: Fix creation of PO file
[koha.git] / Koha / Schema / Result / AuthHeader.pm
blobd406e271285d29bea514542e95b7cab7fde8dfce
1 use utf8;
2 package Koha::Schema::Result::AuthHeader;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::AuthHeader
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<auth_header>
20 =cut
22 __PACKAGE__->table("auth_header");
24 =head1 ACCESSORS
26 =head2 authid
28 data_type: 'bigint'
29 extra: {unsigned => 1}
30 is_auto_increment: 1
31 is_nullable: 0
33 =head2 authtypecode
35 data_type: 'varchar'
36 default_value: (empty string)
37 is_nullable: 0
38 size: 10
40 =head2 datecreated
42 data_type: 'date'
43 datetime_undef_if_invalid: 1
44 is_nullable: 1
46 =head2 modification_time
48 data_type: 'timestamp'
49 datetime_undef_if_invalid: 1
50 default_value: current_timestamp
51 is_nullable: 0
53 =head2 origincode
55 data_type: 'varchar'
56 is_nullable: 1
57 size: 20
59 =head2 authtrees
61 data_type: 'longtext'
62 is_nullable: 1
64 =head2 marc
66 data_type: 'blob'
67 is_nullable: 1
69 =head2 linkid
71 data_type: 'bigint'
72 is_nullable: 1
74 =head2 marcxml
76 data_type: 'longtext'
77 is_nullable: 0
79 =cut
81 __PACKAGE__->add_columns(
82 "authid",
84 data_type => "bigint",
85 extra => { unsigned => 1 },
86 is_auto_increment => 1,
87 is_nullable => 0,
89 "authtypecode",
90 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
91 "datecreated",
92 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
93 "modification_time",
95 data_type => "timestamp",
96 datetime_undef_if_invalid => 1,
97 default_value => \"current_timestamp",
98 is_nullable => 0,
100 "origincode",
101 { data_type => "varchar", is_nullable => 1, size => 20 },
102 "authtrees",
103 { data_type => "longtext", is_nullable => 1 },
104 "marc",
105 { data_type => "blob", is_nullable => 1 },
106 "linkid",
107 { data_type => "bigint", is_nullable => 1 },
108 "marcxml",
109 { data_type => "longtext", is_nullable => 0 },
112 =head1 PRIMARY KEY
114 =over 4
116 =item * L</authid>
118 =back
120 =cut
122 __PACKAGE__->set_primary_key("authid");
125 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
126 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kHEdfMFYFtn3sQ20qsdFyg
128 sub koha_object_class {
129 'Koha::Authority';
131 sub koha_objects_class {
132 'Koha::Authorities';