View | Details | Raw Unified | Return to bug 16787
Collapse All | Expand All

(-)a/Koha/Schema/Result/AccountOffset.pm (-4 / +4 lines)
Lines 58-64 __PACKAGE__->table("account_offsets"); Link Here
58
58
59
  data_type: 'timestamp'
59
  data_type: 'timestamp'
60
  datetime_undef_if_invalid: 1
60
  datetime_undef_if_invalid: 1
61
  default_value: current_timestamp
61
  default_value: 'current_timestamp()'
62
  is_nullable: 0
62
  is_nullable: 0
63
63
64
=cut
64
=cut
Lines 78-84 __PACKAGE__->add_columns( Link Here
78
  {
78
  {
79
    data_type => "timestamp",
79
    data_type => "timestamp",
80
    datetime_undef_if_invalid => 1,
80
    datetime_undef_if_invalid => 1,
81
    default_value => \"current_timestamp",
81
    default_value => "current_timestamp()",
82
    is_nullable => 0,
82
    is_nullable => 0,
83
  },
83
  },
84
);
84
);
Lines 153-160 __PACKAGE__->belongs_to( Link Here
153
);
153
);
154
154
155
155
156
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-10-20 16:27:04
156
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
157
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tPPrIug2c7PbDO7LCxCJAA
157
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wVOaoV0oS6YIZ3tjiUHCHA
158
158
159
sub koha_object_class {
159
sub koha_object_class {
160
    'Koha::Account::Offset';
160
    'Koha::Account::Offset';
(-)a/Koha/Schema/Result/Accountline.pm (-4 / +4 lines)
Lines 99-105 __PACKAGE__->table("accountlines"); Link Here
99
99
100
  data_type: 'timestamp'
100
  data_type: 'timestamp'
101
  datetime_undef_if_invalid: 1
101
  datetime_undef_if_invalid: 1
102
  default_value: current_timestamp
102
  default_value: 'current_timestamp()'
103
  is_nullable: 0
103
  is_nullable: 0
104
104
105
=head2 note
105
=head2 note
Lines 167-173 __PACKAGE__->add_columns( Link Here
167
  {
167
  {
168
    data_type => "timestamp",
168
    data_type => "timestamp",
169
    datetime_undef_if_invalid => 1,
169
    datetime_undef_if_invalid => 1,
170
    default_value => \"current_timestamp",
170
    default_value => "current_timestamp()",
171
    is_nullable => 0,
171
    is_nullable => 0,
172
  },
172
  },
173
  "note",
173
  "note",
Lines 367-374 __PACKAGE__->belongs_to( Link Here
367
);
367
);
368
368
369
369
370
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-19 09:20:20
370
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
371
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BuE4CYsSH4BwXZoQKE2MWw
371
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OCRlOuszEE1gANFb2Nb4WA
372
372
373
sub koha_objects_class {
373
sub koha_objects_class {
374
    'Koha::Account::Lines';
374
    'Koha::Account::Lines';
(-)a/Koha/Schema/Result/ActionLog.pm (-4 / +4 lines)
Lines 33-39 __PACKAGE__->table("action_logs"); Link Here
33
33
34
  data_type: 'timestamp'
34
  data_type: 'timestamp'
35
  datetime_undef_if_invalid: 1
35
  datetime_undef_if_invalid: 1
36
  default_value: current_timestamp
36
  default_value: 'current_timestamp()'
37
  is_nullable: 0
37
  is_nullable: 0
38
38
39
=head2 user
39
=head2 user
Lines 77-83 __PACKAGE__->add_columns( Link Here
77
  {
77
  {
78
    data_type => "timestamp",
78
    data_type => "timestamp",
79
    datetime_undef_if_invalid => 1,
79
    datetime_undef_if_invalid => 1,
80
    default_value => \"current_timestamp",
80
    default_value => "current_timestamp()",
81
    is_nullable => 0,
81
    is_nullable => 0,
82
  },
82
  },
83
  "user",
83
  "user",
Lines 107-114 __PACKAGE__->add_columns( Link Here
107
__PACKAGE__->set_primary_key("action_id");
107
__PACKAGE__->set_primary_key("action_id");
108
108
109
109
110
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
110
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
111
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VVXBchLYkj+S+lLhl7bKgw
111
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UbmbpOMtB06AMETZPv14xQ
112
112
113
113
114
# You can replace this text with custom code or comments, and it will be preserved on regeneration
114
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Aqbudget.pm (-4 / +4 lines)
Lines 82-88 __PACKAGE__->table("aqbudgets"); Link Here
82
82
83
  data_type: 'timestamp'
83
  data_type: 'timestamp'
84
  datetime_undef_if_invalid: 1
84
  datetime_undef_if_invalid: 1
85
  default_value: current_timestamp
85
  default_value: 'current_timestamp()'
86
  is_nullable: 0
86
  is_nullable: 0
87
87
88
=head2 budget_period_id
88
=head2 budget_period_id
Lines 153-159 __PACKAGE__->add_columns( Link Here
153
  {
153
  {
154
    data_type => "timestamp",
154
    data_type => "timestamp",
155
    datetime_undef_if_invalid => 1,
155
    datetime_undef_if_invalid => 1,
156
    default_value => \"current_timestamp",
156
    default_value => "current_timestamp()",
157
    is_nullable => 0,
157
    is_nullable => 0,
158
  },
158
  },
159
  "budget_period_id",
159
  "budget_period_id",
Lines 298-305 Composing rels: L</aqbudgetborrowers> -> borrowernumber Link Here
298
__PACKAGE__->many_to_many("borrowernumbers", "aqbudgetborrowers", "borrowernumber");
298
__PACKAGE__->many_to_many("borrowernumbers", "aqbudgetborrowers", "borrowernumber");
299
299
300
300
301
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-07-16 13:50:45
301
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
302
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zB7ox8a4KdDGq5fsbQfLGQ
302
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zMiVBIF/QyhLIb3WR9A93w
303
303
304
304
305
sub koha_object_class {
305
sub koha_object_class {
(-)a/Koha/Schema/Result/AqinvoiceAdjustment.pm (-4 / +4 lines)
Lines 68-74 __PACKAGE__->table("aqinvoice_adjustments"); Link Here
68
68
69
  data_type: 'timestamp'
69
  data_type: 'timestamp'
70
  datetime_undef_if_invalid: 1
70
  datetime_undef_if_invalid: 1
71
  default_value: current_timestamp
71
  default_value: 'current_timestamp()'
72
  is_nullable: 0
72
  is_nullable: 0
73
73
74
=cut
74
=cut
Lines 92-98 __PACKAGE__->add_columns( Link Here
92
  {
92
  {
93
    data_type => "timestamp",
93
    data_type => "timestamp",
94
    datetime_undef_if_invalid => 1,
94
    datetime_undef_if_invalid => 1,
95
    default_value => \"current_timestamp",
95
    default_value => "current_timestamp()",
96
    is_nullable => 0,
96
    is_nullable => 0,
97
  },
97
  },
98
);
98
);
Lines 147-154 __PACKAGE__->belongs_to( Link Here
147
);
147
);
148
148
149
149
150
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-07-19 17:32:57
150
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
151
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jl0qxkZWVs2D1pi3kaRjpg
151
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/EE6vTDcqTME+AqE5FIB6Q
152
152
153
sub koha_object_class {
153
sub koha_object_class {
154
    'Koha::Acquisition::Invoice::Adjustment';
154
    'Koha::Acquisition::Invoice::Adjustment';
(-)a/Koha/Schema/Result/Aqorder.pm (-4 / +4 lines)
Lines 143-149 __PACKAGE__->table("aqorders"); Link Here
143
143
144
  data_type: 'timestamp'
144
  data_type: 'timestamp'
145
  datetime_undef_if_invalid: 1
145
  datetime_undef_if_invalid: 1
146
  default_value: current_timestamp
146
  default_value: 'current_timestamp()'
147
  is_nullable: 0
147
  is_nullable: 0
148
148
149
=head2 rrp
149
=head2 rrp
Lines 371-377 __PACKAGE__->add_columns( Link Here
371
  {
371
  {
372
    data_type => "timestamp",
372
    data_type => "timestamp",
373
    datetime_undef_if_invalid => 1,
373
    datetime_undef_if_invalid => 1,
374
    default_value => \"current_timestamp",
374
    default_value => "current_timestamp()",
375
    is_nullable => 0,
375
    is_nullable => 0,
376
  },
376
  },
377
  "rrp",
377
  "rrp",
Lines 661-668 Composing rels: L</aqorder_users> -> borrowernumber Link Here
661
__PACKAGE__->many_to_many("borrowernumbers", "aqorder_users", "borrowernumber");
661
__PACKAGE__->many_to_many("borrowernumbers", "aqorder_users", "borrowernumber");
662
662
663
663
664
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-08-31 11:51:37
664
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
665
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GQEXetlivZm7buQohl8m4A
665
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ce3gSrfQNSBKrDzmW2tWyg
666
666
667
__PACKAGE__->belongs_to(
667
__PACKAGE__->belongs_to(
668
  "basket",
668
  "basket",
(-)a/Koha/Schema/Result/AqordersItem.pm (-4 / +4 lines)
Lines 38-44 __PACKAGE__->table("aqorders_items"); Link Here
38
38
39
  data_type: 'timestamp'
39
  data_type: 'timestamp'
40
  datetime_undef_if_invalid: 1
40
  datetime_undef_if_invalid: 1
41
  default_value: current_timestamp
41
  default_value: 'current_timestamp()'
42
  is_nullable: 0
42
  is_nullable: 0
43
43
44
=cut
44
=cut
Lines 52-58 __PACKAGE__->add_columns( Link Here
52
  {
52
  {
53
    data_type => "timestamp",
53
    data_type => "timestamp",
54
    datetime_undef_if_invalid => 1,
54
    datetime_undef_if_invalid => 1,
55
    default_value => \"current_timestamp",
55
    default_value => "current_timestamp()",
56
    is_nullable => 0,
56
    is_nullable => 0,
57
  },
57
  },
58
);
58
);
Lines 87-94 __PACKAGE__->belongs_to( Link Here
87
);
87
);
88
88
89
89
90
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
90
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
91
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hvDuLTY3idYc1ujykNDrPQ
91
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qHnCftc9aHiS5xKev82nMQ
92
92
93
93
94
# You can replace this text with custom content, and it will be preserved on regeneration
94
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/AqordersTransfer.pm (-4 / +4 lines)
Lines 39-45 __PACKAGE__->table("aqorders_transfers"); Link Here
39
39
40
  data_type: 'timestamp'
40
  data_type: 'timestamp'
41
  datetime_undef_if_invalid: 1
41
  datetime_undef_if_invalid: 1
42
  default_value: current_timestamp
42
  default_value: 'current_timestamp()'
43
  is_nullable: 0
43
  is_nullable: 0
44
44
45
=cut
45
=cut
Lines 53-59 __PACKAGE__->add_columns( Link Here
53
  {
53
  {
54
    data_type => "timestamp",
54
    data_type => "timestamp",
55
    datetime_undef_if_invalid => 1,
55
    datetime_undef_if_invalid => 1,
56
    default_value => \"current_timestamp",
56
    default_value => "current_timestamp()",
57
    is_nullable => 0,
57
    is_nullable => 0,
58
  },
58
  },
59
);
59
);
Lines 127-134 __PACKAGE__->belongs_to( Link Here
127
);
127
);
128
128
129
129
130
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
130
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
131
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Z6+vESlzZKjZloNvrEHpxA
131
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pvk/ImepgI8rEPz0Ih+WdA
132
132
133
133
134
# You can replace this text with custom code or comments, and it will be preserved on regeneration
134
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/ArticleRequest.pm (-4 / +4 lines)
Lines 116-122 __PACKAGE__->table("article_requests"); Link Here
116
116
117
  data_type: 'timestamp'
117
  data_type: 'timestamp'
118
  datetime_undef_if_invalid: 1
118
  datetime_undef_if_invalid: 1
119
  default_value: current_timestamp
119
  default_value: 'current_timestamp()'
120
  is_nullable: 0
120
  is_nullable: 0
121
121
122
=cut
122
=cut
Lines 167-173 __PACKAGE__->add_columns( Link Here
167
  {
167
  {
168
    data_type => "timestamp",
168
    data_type => "timestamp",
169
    datetime_undef_if_invalid => 1,
169
    datetime_undef_if_invalid => 1,
170
    default_value => \"current_timestamp",
170
    default_value => "current_timestamp()",
171
    is_nullable => 0,
171
    is_nullable => 0,
172
  },
172
  },
173
);
173
);
Lines 257-264 __PACKAGE__->belongs_to( Link Here
257
);
257
);
258
258
259
259
260
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-02 09:44:27
260
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
261
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Dhz1mVI7Z/6ibqaBZkPvUA
261
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4FFFYJG7J8xtNC2Cw3AH+Q
262
262
263
263
264
# You can replace this text with custom code or comments, and it will be preserved on regeneration
264
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/AuthHeader.pm (-4 / +4 lines)
Lines 47-53 __PACKAGE__->table("auth_header"); Link Here
47
47
48
  data_type: 'timestamp'
48
  data_type: 'timestamp'
49
  datetime_undef_if_invalid: 1
49
  datetime_undef_if_invalid: 1
50
  default_value: current_timestamp
50
  default_value: 'current_timestamp()'
51
  is_nullable: 0
51
  is_nullable: 0
52
52
53
=head2 origincode
53
=head2 origincode
Lines 94-100 __PACKAGE__->add_columns( Link Here
94
  {
94
  {
95
    data_type => "timestamp",
95
    data_type => "timestamp",
96
    datetime_undef_if_invalid => 1,
96
    datetime_undef_if_invalid => 1,
97
    default_value => \"current_timestamp",
97
    default_value => "current_timestamp()",
98
    is_nullable => 0,
98
    is_nullable => 0,
99
  },
99
  },
100
  "origincode",
100
  "origincode",
Lines 122-129 __PACKAGE__->add_columns( Link Here
122
__PACKAGE__->set_primary_key("authid");
122
__PACKAGE__->set_primary_key("authid");
123
123
124
124
125
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
125
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
126
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kHEdfMFYFtn3sQ20qsdFyg
126
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:L4b7/K8WmOoD7PdIG3VDyg
127
127
128
sub koha_object_class {
128
sub koha_object_class {
129
    'Koha::Authority';
129
    'Koha::Authority';
(-)a/Koha/Schema/Result/Biblio.pm (-4 / +4 lines)
Lines 95-101 __PACKAGE__->table("biblio"); Link Here
95
95
96
  data_type: 'timestamp'
96
  data_type: 'timestamp'
97
  datetime_undef_if_invalid: 1
97
  datetime_undef_if_invalid: 1
98
  default_value: current_timestamp
98
  default_value: 'current_timestamp()'
99
  is_nullable: 0
99
  is_nullable: 0
100
100
101
=head2 datecreated
101
=head2 datecreated
Lines 142-148 __PACKAGE__->add_columns( Link Here
142
  {
142
  {
143
    data_type => "timestamp",
143
    data_type => "timestamp",
144
    datetime_undef_if_invalid => 1,
144
    datetime_undef_if_invalid => 1,
145
    default_value => \"current_timestamp",
145
    default_value => "current_timestamp()",
146
    is_nullable => 0,
146
    is_nullable => 0,
147
  },
147
  },
148
  "datecreated",
148
  "datecreated",
Lines 406-413 __PACKAGE__->has_many( Link Here
406
);
406
);
407
407
408
408
409
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47
409
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
410
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:otCex8qzJmZyc+JXpKNdpQ
410
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:X9+6nur2GDb9NVnhNb6Jag
411
411
412
412
413
__PACKAGE__->has_one(
413
__PACKAGE__->has_one(
(-)a/Koha/Schema/Result/BiblioMetadata.pm (-4 / +4 lines)
Lines 56-62 __PACKAGE__->table("biblio_metadata"); Link Here
56
56
57
  data_type: 'timestamp'
57
  data_type: 'timestamp'
58
  datetime_undef_if_invalid: 1
58
  datetime_undef_if_invalid: 1
59
  default_value: current_timestamp
59
  default_value: 'current_timestamp()'
60
  is_nullable: 0
60
  is_nullable: 0
61
61
62
=cut
62
=cut
Lines 76-82 __PACKAGE__->add_columns( Link Here
76
  {
76
  {
77
    data_type => "timestamp",
77
    data_type => "timestamp",
78
    datetime_undef_if_invalid => 1,
78
    datetime_undef_if_invalid => 1,
79
    default_value => \"current_timestamp",
79
    default_value => "current_timestamp()",
80
    is_nullable => 0,
80
    is_nullable => 0,
81
  },
81
  },
82
);
82
);
Lines 132-139 __PACKAGE__->belongs_to( Link Here
132
);
132
);
133
133
134
134
135
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-01-30 11:34:16
135
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
136
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FJk/YOw8Y/QRmmPPL3G5qQ
136
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KwjHx7r8FU+9eenrGJL7nQ
137
137
138
sub koha_object_class {
138
sub koha_object_class {
139
    'Koha::Biblio::Metadata';
139
    'Koha::Biblio::Metadata';
(-)a/Koha/Schema/Result/Biblioimage.pm (-4 / +4 lines)
Lines 55-61 __PACKAGE__->table("biblioimages"); Link Here
55
55
56
  data_type: 'timestamp'
56
  data_type: 'timestamp'
57
  datetime_undef_if_invalid: 1
57
  datetime_undef_if_invalid: 1
58
  default_value: current_timestamp
58
  default_value: 'current_timestamp()'
59
  is_nullable: 0
59
  is_nullable: 0
60
60
61
=cut
61
=cut
Lines 75-81 __PACKAGE__->add_columns( Link Here
75
  {
75
  {
76
    data_type => "timestamp",
76
    data_type => "timestamp",
77
    datetime_undef_if_invalid => 1,
77
    datetime_undef_if_invalid => 1,
78
    default_value => \"current_timestamp",
78
    default_value => "current_timestamp()",
79
    is_nullable => 0,
79
    is_nullable => 0,
80
  },
80
  },
81
);
81
);
Lines 110-117 __PACKAGE__->belongs_to( Link Here
110
);
110
);
111
111
112
112
113
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-20 10:39:00
113
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
114
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:f6elSD3dDk6vWE4bUirmew
114
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZSfwizoZp2meou8P0o3khA
115
115
116
116
117
# You can replace this text with custom content, and it will be preserved on regeneration
117
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Biblioitem.pm (-4 / +4 lines)
Lines 118-124 __PACKAGE__->table("biblioitems"); Link Here
118
118
119
  data_type: 'timestamp'
119
  data_type: 'timestamp'
120
  datetime_undef_if_invalid: 1
120
  datetime_undef_if_invalid: 1
121
  default_value: current_timestamp
121
  default_value: 'current_timestamp()'
122
  is_nullable: 0
122
  is_nullable: 0
123
123
124
=head2 illus
124
=head2 illus
Lines 248-254 __PACKAGE__->add_columns( Link Here
248
  {
248
  {
249
    data_type => "timestamp",
249
    data_type => "timestamp",
250
    datetime_undef_if_invalid => 1,
250
    datetime_undef_if_invalid => 1,
251
    default_value => \"current_timestamp",
251
    default_value => "current_timestamp()",
252
    is_nullable => 0,
252
    is_nullable => 0,
253
  },
253
  },
254
  "illus",
254
  "illus",
Lines 326-333 __PACKAGE__->has_many( Link Here
326
);
326
);
327
327
328
328
329
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
329
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
330
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ogVRTKNaUQSI3BE2xC2lww
330
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QVWw6CCU9RCOSbnG23cqIQ
331
331
332
__PACKAGE__->belongs_to( biblio => "Koha::Schema::Result::Biblio", "biblionumber" );
332
__PACKAGE__->belongs_to( biblio => "Koha::Schema::Result::Biblio", "biblionumber" );
333
333
(-)a/Koha/Schema/Result/Borrower.pm (-4 / +4 lines)
Lines 425-431 __PACKAGE__->table("borrowers"); Link Here
425
425
426
  data_type: 'timestamp'
426
  data_type: 'timestamp'
427
  datetime_undef_if_invalid: 1
427
  datetime_undef_if_invalid: 1
428
  default_value: current_timestamp
428
  default_value: 'current_timestamp()'
429
  is_nullable: 0
429
  is_nullable: 0
430
430
431
=head2 lastseen
431
=head2 lastseen
Lines 640-646 __PACKAGE__->add_columns( Link Here
640
  {
640
  {
641
    data_type => "timestamp",
641
    data_type => "timestamp",
642
    datetime_undef_if_invalid => 1,
642
    datetime_undef_if_invalid => 1,
643
    default_value => \"current_timestamp",
643
    default_value => "current_timestamp()",
644
    is_nullable => 0,
644
    is_nullable => 0,
645
  },
645
  },
646
  "lastseen",
646
  "lastseen",
Lines 1650-1657 Composing rels: L</aqorder_users> -> ordernumber Link Here
1650
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1650
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1651
1651
1652
1652
1653
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-03 16:19:12
1653
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
1654
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+f1QrESEOMGM1coANPgWtQ
1654
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:M1u9Io+xE9wlnh7m06l+0A
1655
1655
1656
__PACKAGE__->add_columns(
1656
__PACKAGE__->add_columns(
1657
    '+anonymized'    => { is_boolean => 1 },
1657
    '+anonymized'    => { is_boolean => 1 },
(-)a/Koha/Schema/Result/BorrowerDebarment.pm (-4 / +4 lines)
Lines 62-68 __PACKAGE__->table("borrower_debarments"); Link Here
62
62
63
  data_type: 'timestamp'
63
  data_type: 'timestamp'
64
  datetime_undef_if_invalid: 1
64
  datetime_undef_if_invalid: 1
65
  default_value: current_timestamp
65
  default_value: 'current_timestamp()'
66
  is_nullable: 0
66
  is_nullable: 0
67
67
68
=head2 updated
68
=head2 updated
Lines 95-101 __PACKAGE__->add_columns( Link Here
95
  {
95
  {
96
    data_type => "timestamp",
96
    data_type => "timestamp",
97
    datetime_undef_if_invalid => 1,
97
    datetime_undef_if_invalid => 1,
98
    default_value => \"current_timestamp",
98
    default_value => "current_timestamp()",
99
    is_nullable => 0,
99
    is_nullable => 0,
100
  },
100
  },
101
  "updated",
101
  "updated",
Lines 136-143 __PACKAGE__->belongs_to( Link Here
136
);
136
);
137
137
138
138
139
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
139
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
140
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:J9J1ReRLqhVasOQXvde2Uw
140
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:j4skIh7xT8mvrpnIz/nHyw
141
141
142
142
143
# You can replace this text with custom code or comments, and it will be preserved on regeneration
143
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/BorrowerFile.pm (-4 / +4 lines)
Lines 62-68 __PACKAGE__->table("borrower_files"); Link Here
62
62
63
  data_type: 'timestamp'
63
  data_type: 'timestamp'
64
  datetime_undef_if_invalid: 1
64
  datetime_undef_if_invalid: 1
65
  default_value: current_timestamp
65
  default_value: 'current_timestamp()'
66
  is_nullable: 0
66
  is_nullable: 0
67
67
68
=cut
68
=cut
Lines 84-90 __PACKAGE__->add_columns( Link Here
84
  {
84
  {
85
    data_type => "timestamp",
85
    data_type => "timestamp",
86
    datetime_undef_if_invalid => 1,
86
    datetime_undef_if_invalid => 1,
87
    default_value => \"current_timestamp",
87
    default_value => "current_timestamp()",
88
    is_nullable => 0,
88
    is_nullable => 0,
89
  },
89
  },
90
);
90
);
Lines 119-126 __PACKAGE__->belongs_to( Link Here
119
);
119
);
120
120
121
121
122
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
122
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
123
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sbkf7bvdO4CgmiBLgIwYQg
123
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uoOkVKEPlidhskZQPEKOJQ
124
124
125
125
126
# You can replace this text with custom content, and it will be preserved on regeneration
126
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/BorrowerModification.pm (-4 / +4 lines)
Lines 27-33 __PACKAGE__->table("borrower_modifications"); Link Here
27
27
28
  data_type: 'timestamp'
28
  data_type: 'timestamp'
29
  datetime_undef_if_invalid: 1
29
  datetime_undef_if_invalid: 1
30
  default_value: current_timestamp
30
  default_value: 'current_timestamp()'
31
  is_nullable: 0
31
  is_nullable: 0
32
32
33
=head2 verification_token
33
=head2 verification_token
Lines 428-434 __PACKAGE__->add_columns( Link Here
428
  {
428
  {
429
    data_type => "timestamp",
429
    data_type => "timestamp",
430
    datetime_undef_if_invalid => 1,
430
    datetime_undef_if_invalid => 1,
431
    default_value => \"current_timestamp",
431
    default_value => "current_timestamp()",
432
    is_nullable => 0,
432
    is_nullable => 0,
433
  },
433
  },
434
  "verification_token",
434
  "verification_token",
Lines 610-617 __PACKAGE__->add_columns( Link Here
610
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
610
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
611
611
612
612
613
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-07-22 16:54:42
613
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
614
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jkZUTN+mGIdp8ySV0BYNTw
614
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:plfFkRpx8PZqYKsNwEuUkQ
615
615
616
sub koha_object_class {
616
sub koha_object_class {
617
    'Koha::Patron::Modification';
617
    'Koha::Patron::Modification';
(-)a/Koha/Schema/Result/BorrowerPasswordRecovery.pm (-4 / +4 lines)
Lines 38-44 __PACKAGE__->table("borrower_password_recovery"); Link Here
38
38
39
  data_type: 'timestamp'
39
  data_type: 'timestamp'
40
  datetime_undef_if_invalid: 1
40
  datetime_undef_if_invalid: 1
41
  default_value: current_timestamp
41
  default_value: 'current_timestamp()'
42
  is_nullable: 0
42
  is_nullable: 0
43
43
44
=cut
44
=cut
Lines 52-58 __PACKAGE__->add_columns( Link Here
52
  {
52
  {
53
    data_type => "timestamp",
53
    data_type => "timestamp",
54
    datetime_undef_if_invalid => 1,
54
    datetime_undef_if_invalid => 1,
55
    default_value => \"current_timestamp",
55
    default_value => "current_timestamp()",
56
    is_nullable => 0,
56
    is_nullable => 0,
57
  },
57
  },
58
);
58
);
Lines 70-77 __PACKAGE__->add_columns( Link Here
70
__PACKAGE__->set_primary_key("borrowernumber");
70
__PACKAGE__->set_primary_key("borrowernumber");
71
71
72
72
73
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2016-01-22 10:16:52
73
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
74
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:c4ehAGqOD6YHpGg85BX8YQ
74
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DbHfJVUGJBDNS1JYUxcImA
75
75
76
76
77
# You can replace this text with custom code or comments, and it will be preserved on regeneration
77
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/CashRegisterAction.pm (-4 / +4 lines)
Lines 57-63 __PACKAGE__->table("cash_register_actions"); Link Here
57
57
58
  data_type: 'timestamp'
58
  data_type: 'timestamp'
59
  datetime_undef_if_invalid: 1
59
  datetime_undef_if_invalid: 1
60
  default_value: current_timestamp
60
  default_value: 'current_timestamp()'
61
  is_nullable: 0
61
  is_nullable: 0
62
62
63
=cut
63
=cut
Lines 77-83 __PACKAGE__->add_columns( Link Here
77
  {
77
  {
78
    data_type => "timestamp",
78
    data_type => "timestamp",
79
    datetime_undef_if_invalid => 1,
79
    datetime_undef_if_invalid => 1,
80
    default_value => \"current_timestamp",
80
    default_value => "current_timestamp()",
81
    is_nullable => 0,
81
    is_nullable => 0,
82
  },
82
  },
83
);
83
);
Lines 127-134 __PACKAGE__->belongs_to( Link Here
127
);
127
);
128
128
129
129
130
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-07-23 13:21:03
130
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
131
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Oaee+hS82IEJHHBGuOXDtw
131
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:j7Jylt5Azw8C5Pnj/zcRDg
132
132
133
sub koha_objects_class {
133
sub koha_objects_class {
134
    'Koha::Cash::Register::Actions';
134
    'Koha::Cash::Register::Actions';
(-)a/Koha/Schema/Result/Club.pm (-4 / +4 lines)
Lines 68-74 __PACKAGE__->table("clubs"); Link Here
68
68
69
  data_type: 'timestamp'
69
  data_type: 'timestamp'
70
  datetime_undef_if_invalid: 1
70
  datetime_undef_if_invalid: 1
71
  default_value: current_timestamp
71
  default_value: 'current_timestamp()'
72
  is_nullable: 0
72
  is_nullable: 0
73
73
74
=head2 date_updated
74
=head2 date_updated
Lines 98-104 __PACKAGE__->add_columns( Link Here
98
  {
98
  {
99
    data_type => "timestamp",
99
    data_type => "timestamp",
100
    datetime_undef_if_invalid => 1,
100
    datetime_undef_if_invalid => 1,
101
    default_value => \"current_timestamp",
101
    default_value => "current_timestamp()",
102
    is_nullable => 0,
102
    is_nullable => 0,
103
  },
103
  },
104
  "date_updated",
104
  "date_updated",
Lines 204-211 __PACKAGE__->belongs_to( Link Here
204
);
204
);
205
205
206
206
207
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47
207
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
208
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WbB7PSSU4xaszsKe9Eacqw
208
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pvTTMHnhno0LkfpkHubikg
209
209
210
210
211
# You can replace this text with custom content, and it will be preserved on regeneration
211
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/ClubEnrollment.pm (-4 / +4 lines)
Lines 45-51 __PACKAGE__->table("club_enrollments"); Link Here
45
45
46
  data_type: 'timestamp'
46
  data_type: 'timestamp'
47
  datetime_undef_if_invalid: 1
47
  datetime_undef_if_invalid: 1
48
  default_value: current_timestamp
48
  default_value: 'current_timestamp()'
49
  is_nullable: 0
49
  is_nullable: 0
50
50
51
=head2 date_canceled
51
=head2 date_canceled
Lines 86-92 __PACKAGE__->add_columns( Link Here
86
  {
86
  {
87
    data_type => "timestamp",
87
    data_type => "timestamp",
88
    datetime_undef_if_invalid => 1,
88
    datetime_undef_if_invalid => 1,
89
    default_value => \"current_timestamp",
89
    default_value => "current_timestamp()",
90
    is_nullable => 0,
90
    is_nullable => 0,
91
  },
91
  },
92
  "date_canceled",
92
  "date_canceled",
Lines 191-198 __PACKAGE__->has_many( Link Here
191
);
191
);
192
192
193
193
194
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-12 17:59:47
194
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
195
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ih/HQM4KIRDZ0ESXVR9FwA
195
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:x5ia3ev86/adks8xURbnJA
196
196
197
sub koha_object_class {
197
sub koha_object_class {
198
    'Koha::Club::Enrollment';
198
    'Koha::Club::Enrollment';
(-)a/Koha/Schema/Result/ClubHold.pm (-4 / +4 lines)
Lines 51-57 __PACKAGE__->table("club_holds"); Link Here
51
51
52
  data_type: 'timestamp'
52
  data_type: 'timestamp'
53
  datetime_undef_if_invalid: 1
53
  datetime_undef_if_invalid: 1
54
  default_value: current_timestamp
54
  default_value: 'current_timestamp()'
55
  is_nullable: 0
55
  is_nullable: 0
56
56
57
=cut
57
=cut
Lines 69-75 __PACKAGE__->add_columns( Link Here
69
  {
69
  {
70
    data_type => "timestamp",
70
    data_type => "timestamp",
71
    datetime_undef_if_invalid => 1,
71
    datetime_undef_if_invalid => 1,
72
    default_value => \"current_timestamp",
72
    default_value => "current_timestamp()",
73
    is_nullable => 0,
73
    is_nullable => 0,
74
  },
74
  },
75
);
75
);
Lines 154-161 __PACKAGE__->belongs_to( Link Here
154
);
154
);
155
155
156
156
157
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47
157
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
158
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FYGXVx1P2R+dGbeP1xshPA
158
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TSOaqIwWlT87sdtsxyzGUw
159
159
160
sub koha_objects_class {
160
sub koha_objects_class {
161
    'Koha::Club::Holds';
161
    'Koha::Club::Holds';
(-)a/Koha/Schema/Result/ClubHoldsToPatronHold.pm (-3 / +4 lines)
Lines 50-56 __PACKAGE__->table("club_holds_to_patron_holds"); Link Here
50
=head2 error_code
50
=head2 error_code
51
51
52
  data_type: 'enum'
52
  data_type: 'enum'
53
  extra: {list => ["damaged","ageRestricted","itemAlreadyOnHold","tooManyHoldsForThisRecord","tooManyReservesToday","tooManyReserves","notReservable","cannotReserveFromOtherBranches","libraryNotFound","libraryNotPickupLocation","cannotBeTransferred"]}
53
  extra: {list => ["damaged","ageRestricted","itemAlreadyOnHold","tooManyHoldsForThisRecord","tooManyReservesToday","tooManyReserves","notReservable","cannotReserveFromOtherBranches","libraryNotFound","libraryNotPickupLocation","cannotBeTransferred","noReservesAllowed"]}
54
  is_nullable: 1
54
  is_nullable: 1
55
55
56
=head2 error_message
56
=head2 error_message
Lines 86-91 __PACKAGE__->add_columns( Link Here
86
        "libraryNotFound",
86
        "libraryNotFound",
87
        "libraryNotPickupLocation",
87
        "libraryNotPickupLocation",
88
        "cannotBeTransferred",
88
        "cannotBeTransferred",
89
        "noReservesAllowed",
89
      ],
90
      ],
90
    },
91
    },
91
    is_nullable => 1,
92
    is_nullable => 1,
Lines 159-166 __PACKAGE__->belongs_to( Link Here
159
);
160
);
160
161
161
162
162
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47
163
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
163
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/T626DfqUi7SnXOyieUzYw
164
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uqSwbOH9QI7NdXPyPeEOGg
164
165
165
sub koha_objects_class {
166
sub koha_objects_class {
166
    'Koha::Club::Hold::PatronHolds';
167
    'Koha::Club::Hold::PatronHolds';
(-)a/Koha/Schema/Result/ClubTemplate.pm (-4 / +4 lines)
Lines 62-68 __PACKAGE__->table("club_templates"); Link Here
62
62
63
  data_type: 'timestamp'
63
  data_type: 'timestamp'
64
  datetime_undef_if_invalid: 1
64
  datetime_undef_if_invalid: 1
65
  default_value: current_timestamp
65
  default_value: 'current_timestamp()'
66
  is_nullable: 0
66
  is_nullable: 0
67
67
68
=head2 date_updated
68
=head2 date_updated
Lines 96-102 __PACKAGE__->add_columns( Link Here
96
  {
96
  {
97
    data_type => "timestamp",
97
    data_type => "timestamp",
98
    datetime_undef_if_invalid => 1,
98
    datetime_undef_if_invalid => 1,
99
    default_value => \"current_timestamp",
99
    default_value => "current_timestamp()",
100
    is_nullable => 0,
100
    is_nullable => 0,
101
  },
101
  },
102
  "date_updated",
102
  "date_updated",
Lines 189-196 __PACKAGE__->has_many( Link Here
189
);
189
);
190
190
191
191
192
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
192
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
193
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1UuejI9kkTb9eeNKvSLAQQ
193
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:t2NzGpr95PXezYIXvUQGKw
194
194
195
sub koha_object_class {
195
sub koha_object_class {
196
    'Koha::Club::Template';
196
    'Koha::Club::Template';
(-)a/Koha/Schema/Result/Course.pm (-4 / +4 lines)
Lines 86-92 __PACKAGE__->table("courses"); Link Here
86
86
87
  data_type: 'timestamp'
87
  data_type: 'timestamp'
88
  datetime_undef_if_invalid: 1
88
  datetime_undef_if_invalid: 1
89
  default_value: current_timestamp
89
  default_value: 'current_timestamp()'
90
  is_nullable: 0
90
  is_nullable: 0
91
91
92
=cut
92
=cut
Lines 121-127 __PACKAGE__->add_columns( Link Here
121
  {
121
  {
122
    data_type => "timestamp",
122
    data_type => "timestamp",
123
    datetime_undef_if_invalid => 1,
123
    datetime_undef_if_invalid => 1,
124
    default_value => \"current_timestamp",
124
    default_value => "current_timestamp()",
125
    is_nullable => 0,
125
    is_nullable => 0,
126
  },
126
  },
127
);
127
);
Lines 181-188 Composing rels: L</course_instructors> -> borrowernumber Link Here
181
__PACKAGE__->many_to_many("borrowernumbers", "course_instructors", "borrowernumber");
181
__PACKAGE__->many_to_many("borrowernumbers", "course_instructors", "borrowernumber");
182
182
183
183
184
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
184
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
185
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:o0EBOuJCHxH5IG/PgsJfxg
185
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:05y+EyJ92scktOZyGRgDVg
186
186
187
187
188
# You can replace this text with custom content, and it will be preserved on regeneration
188
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/CourseItem.pm (-4 / +4 lines)
Lines 71-77 __PACKAGE__->table("course_items"); Link Here
71
71
72
  data_type: 'timestamp'
72
  data_type: 'timestamp'
73
  datetime_undef_if_invalid: 1
73
  datetime_undef_if_invalid: 1
74
  default_value: current_timestamp
74
  default_value: 'current_timestamp()'
75
  is_nullable: 0
75
  is_nullable: 0
76
76
77
=cut
77
=cut
Lines 100-106 __PACKAGE__->add_columns( Link Here
100
  {
100
  {
101
    data_type => "timestamp",
101
    data_type => "timestamp",
102
    datetime_undef_if_invalid => 1,
102
    datetime_undef_if_invalid => 1,
103
    default_value => \"current_timestamp",
103
    default_value => "current_timestamp()",
104
    is_nullable => 0,
104
    is_nullable => 0,
105
  },
105
  },
106
);
106
);
Lines 184-191 __PACKAGE__->belongs_to( Link Here
184
);
184
);
185
185
186
186
187
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-26 16:15:09
187
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
188
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0hBp2R7AMxgHLLZcG/676w
188
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PsQ3JMJSBEW0I/KUQk5SVw
189
189
190
190
191
# You can replace this text with custom content, and it will be preserved on regeneration
191
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/CourseReserve.pm (-4 / +4 lines)
Lines 55-61 __PACKAGE__->table("course_reserves"); Link Here
55
55
56
  data_type: 'timestamp'
56
  data_type: 'timestamp'
57
  datetime_undef_if_invalid: 1
57
  datetime_undef_if_invalid: 1
58
  default_value: current_timestamp
58
  default_value: 'current_timestamp()'
59
  is_nullable: 0
59
  is_nullable: 0
60
60
61
=cut
61
=cut
Lines 75-81 __PACKAGE__->add_columns( Link Here
75
  {
75
  {
76
    data_type => "timestamp",
76
    data_type => "timestamp",
77
    datetime_undef_if_invalid => 1,
77
    datetime_undef_if_invalid => 1,
78
    default_value => \"current_timestamp",
78
    default_value => "current_timestamp()",
79
    is_nullable => 0,
79
    is_nullable => 0,
80
  },
80
  },
81
);
81
);
Lines 141-148 __PACKAGE__->belongs_to( Link Here
141
);
141
);
142
142
143
143
144
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
144
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
145
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8SDdUrbxKuAwp6rgn85RmA
145
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7axP1ABT5VbBpSO9qUVchw
146
146
147
147
148
# You can replace this text with custom content, and it will be preserved on regeneration
148
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/CreatorBatch.pm (-4 / +4 lines)
Lines 56-62 __PACKAGE__->table("creator_batches"); Link Here
56
56
57
  data_type: 'timestamp'
57
  data_type: 'timestamp'
58
  datetime_undef_if_invalid: 1
58
  datetime_undef_if_invalid: 1
59
  default_value: current_timestamp
59
  default_value: 'current_timestamp()'
60
  is_nullable: 0
60
  is_nullable: 0
61
61
62
=head2 branch_code
62
=head2 branch_code
Lines 91-97 __PACKAGE__->add_columns( Link Here
91
  {
91
  {
92
    data_type => "timestamp",
92
    data_type => "timestamp",
93
    datetime_undef_if_invalid => 1,
93
    datetime_undef_if_invalid => 1,
94
    default_value => \"current_timestamp",
94
    default_value => "current_timestamp()",
95
    is_nullable => 0,
95
    is_nullable => 0,
96
  },
96
  },
97
  "branch_code",
97
  "branch_code",
Lines 181-188 __PACKAGE__->belongs_to( Link Here
181
);
181
);
182
182
183
183
184
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-24 17:34:29
184
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
185
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5SOMkaJ6IxGtnqtPVFpNtg
185
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5yfIz6zBzFZhErIb4CNi+w
186
186
187
187
188
# You can replace this text with custom content, and it will be preserved on regeneration
188
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Currency.pm (-4 / +4 lines)
Lines 46-52 __PACKAGE__->table("currency"); Link Here
46
46
47
  data_type: 'timestamp'
47
  data_type: 'timestamp'
48
  datetime_undef_if_invalid: 1
48
  datetime_undef_if_invalid: 1
49
  default_value: current_timestamp
49
  default_value: 'current_timestamp()'
50
  is_nullable: 0
50
  is_nullable: 0
51
51
52
=head2 rate
52
=head2 rate
Lines 85-91 __PACKAGE__->add_columns( Link Here
85
  {
85
  {
86
    data_type => "timestamp",
86
    data_type => "timestamp",
87
    datetime_undef_if_invalid => 1,
87
    datetime_undef_if_invalid => 1,
88
    default_value => \"current_timestamp",
88
    default_value => "current_timestamp()",
89
    is_nullable => 0,
89
    is_nullable => 0,
90
  },
90
  },
91
  "rate",
91
  "rate",
Lines 158-165 __PACKAGE__->has_many( Link Here
158
);
158
);
159
159
160
160
161
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-01 14:23:58
161
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
162
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PnJEcCgrM1Edf99phWFdyQ
162
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:R6W4h71d4TucTLRR3wHRWA
163
163
164
164
165
sub koha_object_class {
165
sub koha_object_class {
(-)a/Koha/Schema/Result/Deletedbiblio.pm (-4 / +4 lines)
Lines 95-101 __PACKAGE__->table("deletedbiblio"); Link Here
95
95
96
  data_type: 'timestamp'
96
  data_type: 'timestamp'
97
  datetime_undef_if_invalid: 1
97
  datetime_undef_if_invalid: 1
98
  default_value: current_timestamp
98
  default_value: 'current_timestamp()'
99
  is_nullable: 0
99
  is_nullable: 0
100
100
101
=head2 datecreated
101
=head2 datecreated
Lines 142-148 __PACKAGE__->add_columns( Link Here
142
  {
142
  {
143
    data_type => "timestamp",
143
    data_type => "timestamp",
144
    datetime_undef_if_invalid => 1,
144
    datetime_undef_if_invalid => 1,
145
    default_value => \"current_timestamp",
145
    default_value => "current_timestamp()",
146
    is_nullable => 0,
146
    is_nullable => 0,
147
  },
147
  },
148
  "datecreated",
148
  "datecreated",
Lines 181-188 __PACKAGE__->has_many( Link Here
181
);
181
);
182
182
183
183
184
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-08-05 13:53:34
184
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
185
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FQaznWmkfR2Ge5NG8lDmSw
185
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/IRIJbdl232FvHr+XyRbOw
186
186
187
sub koha_objects_class {
187
sub koha_objects_class {
188
    'Koha::Old::Biblios';
188
    'Koha::Old::Biblios';
(-)a/Koha/Schema/Result/DeletedbiblioMetadata.pm (-4 / +4 lines)
Lines 56-62 __PACKAGE__->table("deletedbiblio_metadata"); Link Here
56
56
57
  data_type: 'timestamp'
57
  data_type: 'timestamp'
58
  datetime_undef_if_invalid: 1
58
  datetime_undef_if_invalid: 1
59
  default_value: current_timestamp
59
  default_value: 'current_timestamp()'
60
  is_nullable: 0
60
  is_nullable: 0
61
61
62
=cut
62
=cut
Lines 76-82 __PACKAGE__->add_columns( Link Here
76
  {
76
  {
77
    data_type => "timestamp",
77
    data_type => "timestamp",
78
    datetime_undef_if_invalid => 1,
78
    datetime_undef_if_invalid => 1,
79
    default_value => \"current_timestamp",
79
    default_value => "current_timestamp()",
80
    is_nullable => 0,
80
    is_nullable => 0,
81
  },
81
  },
82
);
82
);
Lines 132-139 __PACKAGE__->belongs_to( Link Here
132
);
132
);
133
133
134
134
135
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-01-30 11:34:16
135
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
136
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JCOh+FSSTgPlC8lMJOdOOA
136
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NkpTVCjkA/NDwlGZ7RAIfw
137
137
138
138
139
# You can replace this text with custom code or comments, and it will be preserved on regeneration
139
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Deletedbiblioitem.pm (-4 / +4 lines)
Lines 117-123 __PACKAGE__->table("deletedbiblioitems"); Link Here
117
117
118
  data_type: 'timestamp'
118
  data_type: 'timestamp'
119
  datetime_undef_if_invalid: 1
119
  datetime_undef_if_invalid: 1
120
  default_value: current_timestamp
120
  default_value: 'current_timestamp()'
121
  is_nullable: 0
121
  is_nullable: 0
122
122
123
=head2 illus
123
=head2 illus
Lines 242-248 __PACKAGE__->add_columns( Link Here
242
  {
242
  {
243
    data_type => "timestamp",
243
    data_type => "timestamp",
244
    datetime_undef_if_invalid => 1,
244
    datetime_undef_if_invalid => 1,
245
    default_value => \"current_timestamp",
245
    default_value => "current_timestamp()",
246
    is_nullable => 0,
246
    is_nullable => 0,
247
  },
247
  },
248
  "illus",
248
  "illus",
Lines 288-295 __PACKAGE__->add_columns( Link Here
288
__PACKAGE__->set_primary_key("biblioitemnumber");
288
__PACKAGE__->set_primary_key("biblioitemnumber");
289
289
290
290
291
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
291
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
292
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QLYBa1Ea8Jau2Wy6U+wyQw
292
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4bkBnPTzVjWG77yL5roaWA
293
293
294
sub koha_objects_class {
294
sub koha_objects_class {
295
    'Koha::Old::Biblioitems';
295
    'Koha::Old::Biblioitems';
(-)a/Koha/Schema/Result/Deletedborrower.pm (-4 / +4 lines)
Lines 422-428 __PACKAGE__->table("deletedborrowers"); Link Here
422
422
423
  data_type: 'timestamp'
423
  data_type: 'timestamp'
424
  datetime_undef_if_invalid: 1
424
  datetime_undef_if_invalid: 1
425
  default_value: current_timestamp
425
  default_value: 'current_timestamp()'
426
  is_nullable: 0
426
  is_nullable: 0
427
427
428
=head2 lastseen
428
=head2 lastseen
Lines 625-631 __PACKAGE__->add_columns( Link Here
625
  {
625
  {
626
    data_type => "timestamp",
626
    data_type => "timestamp",
627
    datetime_undef_if_invalid => 1,
627
    datetime_undef_if_invalid => 1,
628
    default_value => \"current_timestamp",
628
    default_value => "current_timestamp()",
629
    is_nullable => 0,
629
    is_nullable => 0,
630
  },
630
  },
631
  "lastseen",
631
  "lastseen",
Lines 650-657 __PACKAGE__->add_columns( Link Here
650
);
650
);
651
651
652
652
653
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-05-22 04:33:29
653
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
654
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zK1jC6Wawwj8B2ch9KFByw
654
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uk+05aTNy9IwGqPTiB1hRQ
655
655
656
sub koha_objects_class {
656
sub koha_objects_class {
657
    'Koha::Old::Patrons';
657
    'Koha::Old::Patrons';
(-)a/Koha/Schema/Result/Deleteditem.pm (-4 / +4 lines)
Lines 198-204 __PACKAGE__->table("deleteditems"); Link Here
198
198
199
  data_type: 'timestamp'
199
  data_type: 'timestamp'
200
  datetime_undef_if_invalid: 1
200
  datetime_undef_if_invalid: 1
201
  default_value: current_timestamp
201
  default_value: 'current_timestamp()'
202
  is_nullable: 0
202
  is_nullable: 0
203
203
204
=head2 location
204
=head2 location
Lines 360-366 __PACKAGE__->add_columns( Link Here
360
  {
360
  {
361
    data_type => "timestamp",
361
    data_type => "timestamp",
362
    datetime_undef_if_invalid => 1,
362
    datetime_undef_if_invalid => 1,
363
    default_value => \"current_timestamp",
363
    default_value => "current_timestamp()",
364
    is_nullable => 0,
364
    is_nullable => 0,
365
  },
365
  },
366
  "location",
366
  "location",
Lines 406-413 __PACKAGE__->add_columns( Link Here
406
__PACKAGE__->set_primary_key("itemnumber");
406
__PACKAGE__->set_primary_key("itemnumber");
407
407
408
408
409
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-17 10:42:24
409
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
410
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1+z3OHx5OpOcP82k8vyAaA
410
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+frWKGC4S/rVghEjnOsP+w
411
411
412
sub koha_objects_class {
412
sub koha_objects_class {
413
    'Koha::Old::Items';
413
    'Koha::Old::Items';
(-)a/Koha/Schema/Result/Illcomment.pm (-4 / +4 lines)
Lines 51-57 __PACKAGE__->table("illcomments"); Link Here
51
51
52
  data_type: 'timestamp'
52
  data_type: 'timestamp'
53
  datetime_undef_if_invalid: 1
53
  datetime_undef_if_invalid: 1
54
  default_value: current_timestamp
54
  default_value: 'current_timestamp()'
55
  is_nullable: 0
55
  is_nullable: 0
56
56
57
=cut
57
=cut
Lines 74-80 __PACKAGE__->add_columns( Link Here
74
  {
74
  {
75
    data_type => "timestamp",
75
    data_type => "timestamp",
76
    datetime_undef_if_invalid => 1,
76
    datetime_undef_if_invalid => 1,
77
    default_value => \"current_timestamp",
77
    default_value => "current_timestamp()",
78
    is_nullable => 0,
78
    is_nullable => 0,
79
  },
79
  },
80
);
80
);
Lines 129-136 __PACKAGE__->belongs_to( Link Here
129
);
129
);
130
130
131
131
132
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-26 19:57:17
132
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
133
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JJC9ohn0V61+WzMppDKUJw
133
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:a2h4KfpSnSr/cWIdWwrKOQ
134
134
135
135
136
# You can replace this text with custom code or comments, and it will be preserved on regeneration
136
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Illrequest.pm (-4 / +4 lines)
Lines 77-83 __PACKAGE__->table("illrequests"); Link Here
77
77
78
  data_type: 'timestamp'
78
  data_type: 'timestamp'
79
  datetime_undef_if_invalid: 1
79
  datetime_undef_if_invalid: 1
80
  default_value: current_timestamp
80
  default_value: 'current_timestamp()'
81
  is_nullable: 0
81
  is_nullable: 0
82
82
83
=head2 completed
83
=head2 completed
Lines 160-166 __PACKAGE__->add_columns( Link Here
160
  {
160
  {
161
    data_type => "timestamp",
161
    data_type => "timestamp",
162
    datetime_undef_if_invalid => 1,
162
    datetime_undef_if_invalid => 1,
163
    default_value => \"current_timestamp",
163
    default_value => "current_timestamp()",
164
    is_nullable => 0,
164
    is_nullable => 0,
165
  },
165
  },
166
  "completed",
166
  "completed",
Lines 283-290 __PACKAGE__->belongs_to( Link Here
283
);
283
);
284
284
285
285
286
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-02-22 14:32:49
286
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
287
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:I6fY8XRfEmRxSzOeVT9Krw
287
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sZzeTdqODgOt4v0vZQtlww
288
288
289
289
290
# You can replace this text with custom code or comments, and it will be preserved on regeneration
290
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/ImportBatch.pm (-4 / +4 lines)
Lines 61-67 __PACKAGE__->table("import_batches"); Link Here
61
61
62
  data_type: 'timestamp'
62
  data_type: 'timestamp'
63
  datetime_undef_if_invalid: 1
63
  datetime_undef_if_invalid: 1
64
  default_value: current_timestamp
64
  default_value: 'current_timestamp()'
65
  is_nullable: 0
65
  is_nullable: 0
66
66
67
=head2 overlay_action
67
=head2 overlay_action
Lines 136-142 __PACKAGE__->add_columns( Link Here
136
  {
136
  {
137
    data_type => "timestamp",
137
    data_type => "timestamp",
138
    datetime_undef_if_invalid => 1,
138
    datetime_undef_if_invalid => 1,
139
    default_value => \"current_timestamp",
139
    default_value => "current_timestamp()",
140
    is_nullable => 0,
140
    is_nullable => 0,
141
  },
141
  },
142
  "overlay_action",
142
  "overlay_action",
Lines 235-242 __PACKAGE__->has_many( Link Here
235
);
235
);
236
236
237
237
238
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
238
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
239
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:41giNJCRD9WXC4IGO/1D3A
239
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LY7V5NkwG4MTVs5pLihiCg
240
240
241
241
242
# You can replace this text with custom content, and it will be preserved on regeneration
242
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/ImportRecord.pm (-4 / +4 lines)
Lines 51-57 __PACKAGE__->table("import_records"); Link Here
51
51
52
  data_type: 'timestamp'
52
  data_type: 'timestamp'
53
  datetime_undef_if_invalid: 1
53
  datetime_undef_if_invalid: 1
54
  default_value: current_timestamp
54
  default_value: 'current_timestamp()'
55
  is_nullable: 0
55
  is_nullable: 0
56
56
57
=head2 import_date
57
=head2 import_date
Lines 123-129 __PACKAGE__->add_columns( Link Here
123
  {
123
  {
124
    data_type => "timestamp",
124
    data_type => "timestamp",
125
    datetime_undef_if_invalid => 1,
125
    datetime_undef_if_invalid => 1,
126
    default_value => \"current_timestamp",
126
    default_value => "current_timestamp()",
127
    is_nullable => 0,
127
    is_nullable => 0,
128
  },
128
  },
129
  "import_date",
129
  "import_date",
Lines 262-269 __PACKAGE__->has_many( Link Here
262
);
262
);
263
263
264
264
265
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-18 10:50:48
265
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
266
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bqIAQzhgioWtBWU8zFdtjw
266
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sbV6LLfWu+PHxa3CgNSMaA
267
267
268
268
269
# You can replace this text with custom content, and it will be preserved on regeneration
269
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Issue.pm (-4 / +4 lines)
Lines 87-93 __PACKAGE__->table("issues"); Link Here
87
87
88
  data_type: 'timestamp'
88
  data_type: 'timestamp'
89
  datetime_undef_if_invalid: 1
89
  datetime_undef_if_invalid: 1
90
  default_value: current_timestamp
90
  default_value: 'current_timestamp()'
91
  is_nullable: 0
91
  is_nullable: 0
92
92
93
=head2 issuedate
93
=head2 issuedate
Lines 157-163 __PACKAGE__->add_columns( Link Here
157
  {
157
  {
158
    data_type => "timestamp",
158
    data_type => "timestamp",
159
    datetime_undef_if_invalid => 1,
159
    datetime_undef_if_invalid => 1,
160
    default_value => \"current_timestamp",
160
    default_value => "current_timestamp()",
161
    is_nullable => 0,
161
    is_nullable => 0,
162
  },
162
  },
163
  "issuedate",
163
  "issuedate",
Lines 264-271 __PACKAGE__->might_have( Link Here
264
);
264
);
265
265
266
266
267
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-31 12:18:38
267
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
268
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QVmFa5b0Pe5OhUI92n9kzQ
268
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kgdsc6aPHfsTN+Cago2vZA
269
269
270
__PACKAGE__->add_columns(
270
__PACKAGE__->add_columns(
271
    '+auto_renew'      => { is_boolean => 1 },
271
    '+auto_renew'      => { is_boolean => 1 },
(-)a/Koha/Schema/Result/Item.pm (-4 / +4 lines)
Lines 202-208 __PACKAGE__->table("items"); Link Here
202
202
203
  data_type: 'timestamp'
203
  data_type: 'timestamp'
204
  datetime_undef_if_invalid: 1
204
  datetime_undef_if_invalid: 1
205
  default_value: current_timestamp
205
  default_value: 'current_timestamp()'
206
  is_nullable: 0
206
  is_nullable: 0
207
207
208
=head2 location
208
=head2 location
Lines 374-380 __PACKAGE__->add_columns( Link Here
374
  {
374
  {
375
    data_type => "timestamp",
375
    data_type => "timestamp",
376
    datetime_undef_if_invalid => 1,
376
    datetime_undef_if_invalid => 1,
377
    default_value => \"current_timestamp",
377
    default_value => "current_timestamp()",
378
    is_nullable => 0,
378
    is_nullable => 0,
379
  },
379
  },
380
  "location",
380
  "location",
Lines 746-753 __PACKAGE__->has_many( Link Here
746
);
746
);
747
747
748
748
749
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-17 10:42:24
749
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
750
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CcrMhgq+PQ1MHV6jZEN8wA
750
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8rXZr+VH9UlEdSv7boyUDA
751
751
752
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
752
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
753
753
(-)a/Koha/Schema/Result/ItemsLastBorrower.pm (-4 / +4 lines)
Lines 45-51 __PACKAGE__->table("items_last_borrower"); Link Here
45
45
46
  data_type: 'timestamp'
46
  data_type: 'timestamp'
47
  datetime_undef_if_invalid: 1
47
  datetime_undef_if_invalid: 1
48
  default_value: current_timestamp
48
  default_value: 'current_timestamp()'
49
  is_nullable: 0
49
  is_nullable: 0
50
50
51
=cut
51
=cut
Lines 61-67 __PACKAGE__->add_columns( Link Here
61
  {
61
  {
62
    data_type => "timestamp",
62
    data_type => "timestamp",
63
    datetime_undef_if_invalid => 1,
63
    datetime_undef_if_invalid => 1,
64
    default_value => \"current_timestamp",
64
    default_value => "current_timestamp()",
65
    is_nullable => 0,
65
    is_nullable => 0,
66
  },
66
  },
67
);
67
);
Lines 125-132 __PACKAGE__->belongs_to( Link Here
125
);
125
);
126
126
127
127
128
# Created by DBIx::Class::Schema::Loader v0.07040 @ 2015-10-02 12:33:33
128
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
129
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ByHKNZCEz4a1AqTnOJgUWA
129
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8Pq2Q3P0tjylKOg9b+xCkg
130
130
131
131
132
# You can replace this text with custom code or comments, and it will be preserved on regeneration
132
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/LibraryGroup.pm (-4 / +4 lines)
Lines 87-93 __PACKAGE__->table("library_groups"); Link Here
87
87
88
  data_type: 'timestamp'
88
  data_type: 'timestamp'
89
  datetime_undef_if_invalid: 1
89
  datetime_undef_if_invalid: 1
90
  default_value: current_timestamp
90
  default_value: 'current_timestamp()'
91
  is_nullable: 0
91
  is_nullable: 0
92
92
93
=cut
93
=cut
Lines 121-127 __PACKAGE__->add_columns( Link Here
121
  {
121
  {
122
    data_type => "timestamp",
122
    data_type => "timestamp",
123
    datetime_undef_if_invalid => 1,
123
    datetime_undef_if_invalid => 1,
124
    default_value => \"current_timestamp",
124
    default_value => "current_timestamp()",
125
    is_nullable => 0,
125
    is_nullable => 0,
126
  },
126
  },
127
);
127
);
Lines 224-231 __PACKAGE__->belongs_to( Link Here
224
);
224
);
225
225
226
226
227
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-30 15:43:39
227
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
228
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qg0Ckj0ZBRjSaQgEcvxSZA
228
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VXW6djXyw9OKTuzUQDDgwA
229
229
230
sub koha_object_class {
230
sub koha_object_class {
231
    'Koha::Library::Group';
231
    'Koha::Library::Group';
(-)a/Koha/Schema/Result/Message.pm (-4 / +4 lines)
Lines 56-62 __PACKAGE__->table("messages"); Link Here
56
56
57
  data_type: 'timestamp'
57
  data_type: 'timestamp'
58
  datetime_undef_if_invalid: 1
58
  datetime_undef_if_invalid: 1
59
  default_value: current_timestamp
59
  default_value: 'current_timestamp()'
60
  is_nullable: 0
60
  is_nullable: 0
61
61
62
=head2 manager_id
62
=head2 manager_id
Lines 82-88 __PACKAGE__->add_columns( Link Here
82
  {
82
  {
83
    data_type => "timestamp",
83
    data_type => "timestamp",
84
    datetime_undef_if_invalid => 1,
84
    datetime_undef_if_invalid => 1,
85
    default_value => \"current_timestamp",
85
    default_value => "current_timestamp()",
86
    is_nullable => 0,
86
    is_nullable => 0,
87
  },
87
  },
88
  "manager_id",
88
  "manager_id",
Lines 139-146 __PACKAGE__->belongs_to( Link Here
139
);
139
);
140
140
141
141
142
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-02-15 13:15:09
142
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
143
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kYM+0CFPm/wdNp7EosdlRw
143
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:r91sg0bK0t8vEPTSzbHu0A
144
144
145
sub koha_object_class {
145
sub koha_object_class {
146
    'Koha::Patron::Message';
146
    'Koha::Patron::Message';
(-)a/Koha/Schema/Result/MessageQueue.pm (-4 / +4 lines)
Lines 80-86 __PACKAGE__->table("message_queue"); Link Here
80
80
81
  data_type: 'timestamp'
81
  data_type: 'timestamp'
82
  datetime_undef_if_invalid: 1
82
  datetime_undef_if_invalid: 1
83
  default_value: current_timestamp
83
  default_value: 'current_timestamp()'
84
  is_nullable: 0
84
  is_nullable: 0
85
85
86
=head2 to_address
86
=head2 to_address
Lines 137-143 __PACKAGE__->add_columns( Link Here
137
  {
137
  {
138
    data_type => "timestamp",
138
    data_type => "timestamp",
139
    datetime_undef_if_invalid => 1,
139
    datetime_undef_if_invalid => 1,
140
    default_value => \"current_timestamp",
140
    default_value => "current_timestamp()",
141
    is_nullable => 0,
141
    is_nullable => 0,
142
  },
142
  },
143
  "to_address",
143
  "to_address",
Lines 200-207 __PACKAGE__->belongs_to( Link Here
200
);
200
);
201
201
202
202
203
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-25 09:43:49
203
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
204
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9M95gvHiqvdGdahHEHaFaA
204
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IwWS/JqkQZQ7n41x/ZvY0A
205
205
206
sub koha_object_class {
206
sub koha_object_class {
207
    'Koha::Notice::Message';
207
    'Koha::Notice::Message';
(-)a/Koha/Schema/Result/MiscFile.pm (-4 / +4 lines)
Lines 67-73 __PACKAGE__->table("misc_files"); Link Here
67
67
68
  data_type: 'timestamp'
68
  data_type: 'timestamp'
69
  datetime_undef_if_invalid: 1
69
  datetime_undef_if_invalid: 1
70
  default_value: current_timestamp
70
  default_value: 'current_timestamp()'
71
  is_nullable: 0
71
  is_nullable: 0
72
72
73
=cut
73
=cut
Lines 91-97 __PACKAGE__->add_columns( Link Here
91
  {
91
  {
92
    data_type => "timestamp",
92
    data_type => "timestamp",
93
    datetime_undef_if_invalid => 1,
93
    datetime_undef_if_invalid => 1,
94
    default_value => \"current_timestamp",
94
    default_value => "current_timestamp()",
95
    is_nullable => 0,
95
    is_nullable => 0,
96
  },
96
  },
97
);
97
);
Lines 109-116 __PACKAGE__->add_columns( Link Here
109
__PACKAGE__->set_primary_key("file_id");
109
__PACKAGE__->set_primary_key("file_id");
110
110
111
111
112
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2014-05-25 21:17:02
112
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
113
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VWGyKXxK0dqymMsEGCjJxg
113
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7cCDmBrLJP7GQTv2ydY5Zw
114
114
115
115
116
# You can replace this text with custom code or comments, and it will be preserved on regeneration
116
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/NeedMergeAuthority.pm (-4 / +4 lines)
Lines 48-54 __PACKAGE__->table("need_merge_authorities"); Link Here
48
48
49
  data_type: 'timestamp'
49
  data_type: 'timestamp'
50
  datetime_undef_if_invalid: 1
50
  datetime_undef_if_invalid: 1
51
  default_value: current_timestamp
51
  default_value: 'current_timestamp()'
52
  is_nullable: 0
52
  is_nullable: 0
53
53
54
=head2 done
54
=head2 done
Lines 72-78 __PACKAGE__->add_columns( Link Here
72
  {
72
  {
73
    data_type => "timestamp",
73
    data_type => "timestamp",
74
    datetime_undef_if_invalid => 1,
74
    datetime_undef_if_invalid => 1,
75
    default_value => \"current_timestamp",
75
    default_value => "current_timestamp()",
76
    is_nullable => 0,
76
    is_nullable => 0,
77
  },
77
  },
78
  "done",
78
  "done",
Lines 92-99 __PACKAGE__->add_columns( Link Here
92
__PACKAGE__->set_primary_key("id");
92
__PACKAGE__->set_primary_key("id");
93
93
94
94
95
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
95
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
96
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7LzwIYvExKvNgr8/HDZlsg
96
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HcS5yMoj/jZwpb4Ifk7UdQ
97
97
98
sub koha_object_class {
98
sub koha_object_class {
99
    'Koha::Authority::MergeRequest';
99
    'Koha::Authority::MergeRequest';
(-)a/Koha/Schema/Result/OldIssue.pm (-4 / +4 lines)
Lines 86-92 __PACKAGE__->table("old_issues"); Link Here
86
86
87
  data_type: 'timestamp'
87
  data_type: 'timestamp'
88
  datetime_undef_if_invalid: 1
88
  datetime_undef_if_invalid: 1
89
  default_value: current_timestamp
89
  default_value: 'current_timestamp()'
90
  is_nullable: 0
90
  is_nullable: 0
91
91
92
=head2 issuedate
92
=head2 issuedate
Lines 156-162 __PACKAGE__->add_columns( Link Here
156
  {
156
  {
157
    data_type => "timestamp",
157
    data_type => "timestamp",
158
    datetime_undef_if_invalid => 1,
158
    datetime_undef_if_invalid => 1,
159
    default_value => \"current_timestamp",
159
    default_value => "current_timestamp()",
160
    is_nullable => 0,
160
    is_nullable => 0,
161
  },
161
  },
162
  "issuedate",
162
  "issuedate",
Lines 234-241 __PACKAGE__->belongs_to( Link Here
234
);
234
);
235
235
236
236
237
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-10 19:55:44
237
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
238
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:E2N2paWcCHg916100ry+2A
238
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rb6KjfhgS5agUgyAXA0gew
239
239
240
__PACKAGE__->add_columns(
240
__PACKAGE__->add_columns(
241
    '+auto_renew'      => { is_boolean => 1 },
241
    '+auto_renew'      => { is_boolean => 1 },
(-)a/Koha/Schema/Result/OldReserve.pm (-4 / +4 lines)
Lines 91-97 __PACKAGE__->table("old_reserves"); Link Here
91
91
92
  data_type: 'timestamp'
92
  data_type: 'timestamp'
93
  datetime_undef_if_invalid: 1
93
  datetime_undef_if_invalid: 1
94
  default_value: current_timestamp
94
  default_value: 'current_timestamp()'
95
  is_nullable: 0
95
  is_nullable: 0
96
96
97
=head2 itemnumber
97
=head2 itemnumber
Lines 173-179 __PACKAGE__->add_columns( Link Here
173
  {
173
  {
174
    data_type => "timestamp",
174
    data_type => "timestamp",
175
    datetime_undef_if_invalid => 1,
175
    datetime_undef_if_invalid => 1,
176
    default_value => \"current_timestamp",
176
    default_value => "current_timestamp()",
177
    is_nullable => 0,
177
    is_nullable => 0,
178
  },
178
  },
179
  "itemnumber",
179
  "itemnumber",
Lines 298-305 __PACKAGE__->belongs_to( Link Here
298
);
298
);
299
299
300
300
301
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15
301
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
302
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4vMUC/1kSr3vgQ7n0Pmuug
302
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:P6rJ8vcjZf/FiE5iroyB+w
303
303
304
sub koha_object_class {
304
sub koha_object_class {
305
    'Koha::Old::Hold';
305
    'Koha::Old::Hold';
(-)a/Koha/Schema/Result/OpacNews.pm (-4 / +4 lines)
Lines 60-66 __PACKAGE__->table("opac_news"); Link Here
60
60
61
  data_type: 'timestamp'
61
  data_type: 'timestamp'
62
  datetime_undef_if_invalid: 1
62
  datetime_undef_if_invalid: 1
63
  default_value: current_timestamp
63
  default_value: 'current_timestamp()'
64
  is_nullable: 0
64
  is_nullable: 0
65
65
66
=head2 expirationdate
66
=head2 expirationdate
Lines 102-108 __PACKAGE__->add_columns( Link Here
102
  {
102
  {
103
    data_type => "timestamp",
103
    data_type => "timestamp",
104
    datetime_undef_if_invalid => 1,
104
    datetime_undef_if_invalid => 1,
105
    default_value => \"current_timestamp",
105
    default_value => "current_timestamp()",
106
    is_nullable => 0,
106
    is_nullable => 0,
107
  },
107
  },
108
  "expirationdate",
108
  "expirationdate",
Lines 168-175 __PACKAGE__->belongs_to( Link Here
168
);
168
);
169
169
170
170
171
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
171
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
172
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gApTRM/dF6uZSMYyvkt4OQ
172
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cv65lNWO5K1RH62O2gtydQ
173
173
174
sub koha_object_class {
174
sub koha_object_class {
175
    'Koha::NewsItem';
175
    'Koha::NewsItem';
(-)a/Koha/Schema/Result/PendingOfflineOperation.pm (-4 / +4 lines)
Lines 45-51 __PACKAGE__->table("pending_offline_operations"); Link Here
45
45
46
  data_type: 'timestamp'
46
  data_type: 'timestamp'
47
  datetime_undef_if_invalid: 1
47
  datetime_undef_if_invalid: 1
48
  default_value: current_timestamp
48
  default_value: 'current_timestamp()'
49
  is_nullable: 0
49
  is_nullable: 0
50
50
51
=head2 action
51
=head2 action
Lines 85-91 __PACKAGE__->add_columns( Link Here
85
  {
85
  {
86
    data_type => "timestamp",
86
    data_type => "timestamp",
87
    datetime_undef_if_invalid => 1,
87
    datetime_undef_if_invalid => 1,
88
    default_value => \"current_timestamp",
88
    default_value => "current_timestamp()",
89
    is_nullable => 0,
89
    is_nullable => 0,
90
  },
90
  },
91
  "action",
91
  "action",
Lines 111-118 __PACKAGE__->add_columns( Link Here
111
__PACKAGE__->set_primary_key("operationid");
111
__PACKAGE__->set_primary_key("operationid");
112
112
113
113
114
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-10-27 13:24:06
114
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
115
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EA2gwvRWvFVCPyIB94jCdw
115
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:m/hN/mZwvJQy+DqmeM51fw
116
116
117
117
118
# You can replace this text with custom content, and it will be preserved on regeneration
118
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Rating.pm (-4 / +4 lines)
Lines 44-50 __PACKAGE__->table("ratings"); Link Here
44
44
45
  data_type: 'timestamp'
45
  data_type: 'timestamp'
46
  datetime_undef_if_invalid: 1
46
  datetime_undef_if_invalid: 1
47
  default_value: current_timestamp
47
  default_value: 'current_timestamp()'
48
  is_nullable: 0
48
  is_nullable: 0
49
49
50
=cut
50
=cut
Lines 60-66 __PACKAGE__->add_columns( Link Here
60
  {
60
  {
61
    data_type => "timestamp",
61
    data_type => "timestamp",
62
    datetime_undef_if_invalid => 1,
62
    datetime_undef_if_invalid => 1,
63
    default_value => \"current_timestamp",
63
    default_value => "current_timestamp()",
64
    is_nullable => 0,
64
    is_nullable => 0,
65
  },
65
  },
66
);
66
);
Lines 112-119 __PACKAGE__->belongs_to( Link Here
112
);
112
);
113
113
114
114
115
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
115
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
116
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YT3jPQbA2TBuOuUXfEt7gQ
116
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oX4w9AyaBp6ikfeIxCFi9A
117
117
118
118
119
# You can replace this text with custom content, and it will be preserved on regeneration
119
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Reserve.pm (-4 / +4 lines)
Lines 95-101 __PACKAGE__->table("reserves"); Link Here
95
95
96
  data_type: 'timestamp'
96
  data_type: 'timestamp'
97
  datetime_undef_if_invalid: 1
97
  datetime_undef_if_invalid: 1
98
  default_value: current_timestamp
98
  default_value: 'current_timestamp()'
99
  is_nullable: 0
99
  is_nullable: 0
100
100
101
=head2 itemnumber
101
=head2 itemnumber
Lines 187-193 __PACKAGE__->add_columns( Link Here
187
  {
187
  {
188
    data_type => "timestamp",
188
    data_type => "timestamp",
189
    datetime_undef_if_invalid => 1,
189
    datetime_undef_if_invalid => 1,
190
    default_value => \"current_timestamp",
190
    default_value => "current_timestamp()",
191
    is_nullable => 0,
191
    is_nullable => 0,
192
  },
192
  },
193
  "itemnumber",
193
  "itemnumber",
Lines 337-344 __PACKAGE__->belongs_to( Link Here
337
);
337
);
338
338
339
339
340
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15
340
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21
341
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VH7h5kYo9WhlGobXb3N3Jg
341
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:57a4rIwssh1FaZQrxcGgSw
342
342
343
__PACKAGE__->belongs_to(
343
__PACKAGE__->belongs_to(
344
  "item",
344
  "item",
(-)a/Koha/Schema/Result/SearchHistory.pm (-4 / +4 lines)
Lines 67-73 __PACKAGE__->table("search_history"); Link Here
67
67
68
  data_type: 'timestamp'
68
  data_type: 'timestamp'
69
  datetime_undef_if_invalid: 1
69
  datetime_undef_if_invalid: 1
70
  default_value: current_timestamp
70
  default_value: 'current_timestamp()'
71
  is_nullable: 0
71
  is_nullable: 0
72
72
73
=cut
73
=cut
Lines 96-102 __PACKAGE__->add_columns( Link Here
96
  {
96
  {
97
    data_type => "timestamp",
97
    data_type => "timestamp",
98
    datetime_undef_if_invalid => 1,
98
    datetime_undef_if_invalid => 1,
99
    default_value => \"current_timestamp",
99
    default_value => "current_timestamp()",
100
    is_nullable => 0,
100
    is_nullable => 0,
101
  },
101
  },
102
);
102
);
Lines 114-121 __PACKAGE__->add_columns( Link Here
114
__PACKAGE__->set_primary_key("id");
114
__PACKAGE__->set_primary_key("id");
115
115
116
116
117
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
117
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:22
118
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:d+Qf8sL7wLldvw2qPLoBgQ
118
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:n40f5iDWOrJK/lU8GoZouA
119
119
120
120
121
# You can replace this text with custom content, and it will be preserved on regeneration
121
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Suggestion.pm (-4 / +4 lines)
Lines 117-123 __PACKAGE__->table("suggestions"); Link Here
117
117
118
  data_type: 'timestamp'
118
  data_type: 'timestamp'
119
  datetime_undef_if_invalid: 1
119
  datetime_undef_if_invalid: 1
120
  default_value: current_timestamp
120
  default_value: 'current_timestamp()'
121
  is_nullable: 0
121
  is_nullable: 0
122
122
123
=head2 volumedesc
123
=head2 volumedesc
Lines 250-256 __PACKAGE__->add_columns( Link Here
250
  {
250
  {
251
    data_type => "timestamp",
251
    data_type => "timestamp",
252
    datetime_undef_if_invalid => 1,
252
    datetime_undef_if_invalid => 1,
253
    default_value => \"current_timestamp",
253
    default_value => "current_timestamp()",
254
    is_nullable => 0,
254
    is_nullable => 0,
255
  },
255
  },
256
  "volumedesc",
256
  "volumedesc",
Lines 440-447 __PACKAGE__->belongs_to( Link Here
440
);
440
);
441
441
442
442
443
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-11 12:56:41
443
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:22
444
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UsG/gxLa0HMMbcpbscV29Q
444
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:p8ADp83DykWQw77/HNSc4A
445
445
446
__PACKAGE__->belongs_to(
446
__PACKAGE__->belongs_to(
447
  "suggester",
447
  "suggester",
(-)a/Koha/Schema/Result/UploadedFile.pm (-4 / +4 lines)
Lines 54-60 __PACKAGE__->table("uploaded_files"); Link Here
54
54
55
  data_type: 'timestamp'
55
  data_type: 'timestamp'
56
  datetime_undef_if_invalid: 1
56
  datetime_undef_if_invalid: 1
57
  default_value: current_timestamp
57
  default_value: 'current_timestamp()'
58
  is_nullable: 0
58
  is_nullable: 0
59
59
60
=head2 uploadcategorycode
60
=head2 uploadcategorycode
Lines 94-100 __PACKAGE__->add_columns( Link Here
94
  {
94
  {
95
    data_type => "timestamp",
95
    data_type => "timestamp",
96
    datetime_undef_if_invalid => 1,
96
    datetime_undef_if_invalid => 1,
97
    default_value => \"current_timestamp",
97
    default_value => "current_timestamp()",
98
    is_nullable => 0,
98
    is_nullable => 0,
99
  },
99
  },
100
  "uploadcategorycode",
100
  "uploadcategorycode",
Lines 120-127 __PACKAGE__->add_columns( Link Here
120
__PACKAGE__->set_primary_key("id");
120
__PACKAGE__->set_primary_key("id");
121
121
122
122
123
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
123
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:22
124
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kJUbIULQMBo3t51HvWC8cg
124
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:47IO+O1kxvsMmk1E45wu2w
125
125
126
126
127
# You can replace this text with custom code or comments, and it will be preserved on regeneration
127
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Virtualshelfcontent.pm (-4 / +4 lines)
Lines 46-52 __PACKAGE__->table("virtualshelfcontents"); Link Here
46
46
47
  data_type: 'timestamp'
47
  data_type: 'timestamp'
48
  datetime_undef_if_invalid: 1
48
  datetime_undef_if_invalid: 1
49
  default_value: current_timestamp
49
  default_value: 'current_timestamp()'
50
  is_nullable: 0
50
  is_nullable: 0
51
51
52
=head2 borrowernumber
52
=head2 borrowernumber
Lines 78-84 __PACKAGE__->add_columns( Link Here
78
  {
78
  {
79
    data_type => "timestamp",
79
    data_type => "timestamp",
80
    datetime_undef_if_invalid => 1,
80
    datetime_undef_if_invalid => 1,
81
    default_value => \"current_timestamp",
81
    default_value => "current_timestamp()",
82
    is_nullable => 0,
82
    is_nullable => 0,
83
  },
83
  },
84
  "borrowernumber",
84
  "borrowernumber",
Lines 138-145 __PACKAGE__->belongs_to( Link Here
138
);
138
);
139
139
140
140
141
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
141
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:22
142
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ie3Gx+/HthZQ/4fHjcPF0w
142
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nslXMdnLVPMz1qM3czV8uw
143
143
144
#TODO See BZ 14544: Should be resolved by db revision
144
#TODO See BZ 14544: Should be resolved by db revision
145
__PACKAGE__->set_primary_key("shelfnumber","biblionumber");
145
__PACKAGE__->set_primary_key("shelfnumber","biblionumber");
(-)a/Koha/Schema/Result/Virtualshelve.pm (-4 / +4 lines)
Lines 58-64 __PACKAGE__->table("virtualshelves"); Link Here
58
58
59
  data_type: 'timestamp'
59
  data_type: 'timestamp'
60
  datetime_undef_if_invalid: 1
60
  datetime_undef_if_invalid: 1
61
  default_value: current_timestamp
61
  default_value: 'current_timestamp()'
62
  is_nullable: 0
62
  is_nullable: 0
63
63
64
=head2 created_on
64
=head2 created_on
Lines 101-107 __PACKAGE__->add_columns( Link Here
101
  {
101
  {
102
    data_type => "timestamp",
102
    data_type => "timestamp",
103
    datetime_undef_if_invalid => 1,
103
    datetime_undef_if_invalid => 1,
104
    default_value => \"current_timestamp",
104
    default_value => "current_timestamp()",
105
    is_nullable => 0,
105
    is_nullable => 0,
106
  },
106
  },
107
  "created_on",
107
  "created_on",
Lines 181-188 __PACKAGE__->has_many( Link Here
181
);
181
);
182
182
183
183
184
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-08 14:19:17
184
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:22
185
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Xoq0lhLouCbkAp6F4ZyMGQ
185
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xPM6sPazZ63w6kF1WwptPQ
186
186
187
sub koha_object_class {
187
sub koha_object_class {
188
    'Koha::Virtualshelf';
188
    'Koha::Virtualshelf';
(-)a/Koha/Schema/Result/Zebraqueue.pm (-5 / +4 lines)
Lines 60-66 __PACKAGE__->table("zebraqueue"); Link Here
60
60
61
  data_type: 'timestamp'
61
  data_type: 'timestamp'
62
  datetime_undef_if_invalid: 1
62
  datetime_undef_if_invalid: 1
63
  default_value: current_timestamp
63
  default_value: 'current_timestamp()'
64
  is_nullable: 0
64
  is_nullable: 0
65
65
66
=cut
66
=cut
Lines 85-91 __PACKAGE__->add_columns( Link Here
85
  {
85
  {
86
    data_type => "timestamp",
86
    data_type => "timestamp",
87
    datetime_undef_if_invalid => 1,
87
    datetime_undef_if_invalid => 1,
88
    default_value => \"current_timestamp",
88
    default_value => "current_timestamp()",
89
    is_nullable => 0,
89
    is_nullable => 0,
90
  },
90
  },
91
);
91
);
Lines 103-110 __PACKAGE__->add_columns( Link Here
103
__PACKAGE__->set_primary_key("id");
103
__PACKAGE__->set_primary_key("id");
104
104
105
105
106
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
106
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:22
107
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vU9ROiVUwXc7jhKt728dRg
107
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FnfxQQBgnTt0I5fNnJf3Sg
108
108
109
109
110
# You can replace this text with custom content, and it will be preserved on regeneration
110
# You can replace this text with custom content, and it will be preserved on regeneration
111
- 

Return to bug 16787