|
Lines 141-146
Be careful with two timestamps in one table not allowing NULL
Link Here
|
| 141 |
default_value: current_timestamp |
141 |
default_value: current_timestamp |
| 142 |
is_nullable: 0 |
142 |
is_nullable: 0 |
| 143 |
|
143 |
|
|
|
144 |
=head2 toc_request |
| 145 |
|
| 146 |
data_type: 'tinyint' |
| 147 |
default_value: 0 |
| 148 |
is_nullable: 0 |
| 149 |
|
| 144 |
=cut |
150 |
=cut |
| 145 |
|
151 |
|
| 146 |
__PACKAGE__->add_columns( |
152 |
__PACKAGE__->add_columns( |
|
Lines 205-210
__PACKAGE__->add_columns(
Link Here
|
| 205 |
default_value => \"current_timestamp", |
211 |
default_value => \"current_timestamp", |
| 206 |
is_nullable => 0, |
212 |
is_nullable => 0, |
| 207 |
}, |
213 |
}, |
|
|
214 |
"toc_request", |
| 215 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
| 208 |
); |
216 |
); |
| 209 |
|
217 |
|
| 210 |
=head1 PRIMARY KEY |
218 |
=head1 PRIMARY KEY |
|
Lines 292-299
__PACKAGE__->belongs_to(
Link Here
|
| 292 |
); |
300 |
); |
| 293 |
|
301 |
|
| 294 |
|
302 |
|
| 295 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-10-05 09:43:22 |
303 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-10-06 11:25:12 |
| 296 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yBNVe7a+BlTtg4I4YCBP1Q |
304 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:H+wrFhjkl6LvBojV2I9CLg |
| 297 |
|
305 |
|
| 298 |
|
306 |
|
| 299 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
307 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
| 300 |
- |
|
|