Lines 57-69
__PACKAGE__->table("opac_news");
Link Here
|
57 |
is_nullable: 0 |
57 |
is_nullable: 0 |
58 |
size: 25 |
58 |
size: 25 |
59 |
|
59 |
|
60 |
=head2 timestamp |
|
|
61 |
|
62 |
data_type: 'timestamp' |
63 |
datetime_undef_if_invalid: 1 |
64 |
default_value: current_timestamp |
65 |
is_nullable: 0 |
66 |
|
67 |
=head2 expirationdate |
60 |
=head2 expirationdate |
68 |
|
61 |
|
69 |
data_type: 'date' |
62 |
data_type: 'date' |
Lines 81-86
__PACKAGE__->table("opac_news");
Link Here
|
81 |
is_foreign_key: 1 |
74 |
is_foreign_key: 1 |
82 |
is_nullable: 1 |
75 |
is_nullable: 1 |
83 |
|
76 |
|
|
|
77 |
=head2 publisheddate |
78 |
|
79 |
data_type: 'date' |
80 |
datetime_undef_if_invalid: 1 |
81 |
is_nullable: 0 |
82 |
|
83 |
=head2 updated_on |
84 |
|
85 |
data_type: 'timestamp' |
86 |
datetime_undef_if_invalid: 1 |
87 |
default_value: current_timestamp |
88 |
is_nullable: 0 |
89 |
|
84 |
=cut |
90 |
=cut |
85 |
|
91 |
|
86 |
__PACKAGE__->add_columns( |
92 |
__PACKAGE__->add_columns( |
Lines 99-117
__PACKAGE__->add_columns(
Link Here
|
99 |
{ accessor => undef, data_type => "text", is_nullable => 0 }, |
105 |
{ accessor => undef, data_type => "text", is_nullable => 0 }, |
100 |
"lang", |
106 |
"lang", |
101 |
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 25 }, |
107 |
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 25 }, |
102 |
"timestamp", |
|
|
103 |
{ |
104 |
data_type => "timestamp", |
105 |
datetime_undef_if_invalid => 1, |
106 |
default_value => \"current_timestamp", |
107 |
is_nullable => 0, |
108 |
}, |
109 |
"expirationdate", |
108 |
"expirationdate", |
110 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
109 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
111 |
"number", |
110 |
"number", |
112 |
{ data_type => "integer", is_nullable => 1 }, |
111 |
{ data_type => "integer", is_nullable => 1 }, |
113 |
"borrowernumber", |
112 |
"borrowernumber", |
114 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
113 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
|
|
114 |
"publisheddate", |
115 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 0 }, |
116 |
"updated_on", |
117 |
{ |
118 |
data_type => "timestamp", |
119 |
datetime_undef_if_invalid => 1, |
120 |
default_value => \"current_timestamp", |
121 |
is_nullable => 0, |
122 |
}, |
115 |
); |
123 |
); |
116 |
|
124 |
|
117 |
=head1 PRIMARY KEY |
125 |
=head1 PRIMARY KEY |
Lines 169-176
__PACKAGE__->belongs_to(
Link Here
|
169 |
); |
177 |
); |
170 |
|
178 |
|
171 |
|
179 |
|
172 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-21 19:50:05 |
180 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-07-17 16:13:43 |
173 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QivH1Daozdp0BttbPF6CkA |
181 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Mq0JwpZ+lMxC++QToFKzZA |
174 |
|
182 |
|
175 |
|
183 |
|
176 |
# You can replace this text with custom content, and it will be preserved on regeneration |
184 |
# You can replace this text with custom content, and it will be preserved on regeneration |
177 |
- |
|
|