From cd0c4ba18d29bb77b6d093787d54a3f96ac08afc Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 23 Mar 2020 16:20:41 +0000 Subject: [PATCH] Bug 16787: DO NOT PUSH - Shcema changes --- Koha/Schema/Result/AccountOffset.pm | 8 ++++---- Koha/Schema/Result/Accountline.pm | 8 ++++---- Koha/Schema/Result/ActionLog.pm | 8 ++++---- Koha/Schema/Result/Aqbudget.pm | 8 ++++---- Koha/Schema/Result/AqinvoiceAdjustment.pm | 8 ++++---- Koha/Schema/Result/Aqorder.pm | 8 ++++---- Koha/Schema/Result/AqordersItem.pm | 8 ++++---- Koha/Schema/Result/AqordersTransfer.pm | 8 ++++---- Koha/Schema/Result/ArticleRequest.pm | 8 ++++---- Koha/Schema/Result/AuthHeader.pm | 8 ++++---- Koha/Schema/Result/Biblio.pm | 8 ++++---- Koha/Schema/Result/BiblioMetadata.pm | 8 ++++---- Koha/Schema/Result/Biblioimage.pm | 8 ++++---- Koha/Schema/Result/Biblioitem.pm | 8 ++++---- Koha/Schema/Result/Borrower.pm | 8 ++++---- Koha/Schema/Result/BorrowerDebarment.pm | 8 ++++---- Koha/Schema/Result/BorrowerFile.pm | 8 ++++---- Koha/Schema/Result/BorrowerModification.pm | 8 ++++---- Koha/Schema/Result/BorrowerPasswordRecovery.pm | 8 ++++---- Koha/Schema/Result/CashRegisterAction.pm | 8 ++++---- Koha/Schema/Result/Club.pm | 8 ++++---- Koha/Schema/Result/ClubEnrollment.pm | 8 ++++---- Koha/Schema/Result/ClubHold.pm | 8 ++++---- Koha/Schema/Result/ClubHoldsToPatronHold.pm | 7 ++++--- Koha/Schema/Result/ClubTemplate.pm | 8 ++++---- Koha/Schema/Result/Course.pm | 8 ++++---- Koha/Schema/Result/CourseItem.pm | 8 ++++---- Koha/Schema/Result/CourseReserve.pm | 8 ++++---- Koha/Schema/Result/CreatorBatch.pm | 8 ++++---- Koha/Schema/Result/Currency.pm | 8 ++++---- Koha/Schema/Result/Deletedbiblio.pm | 8 ++++---- Koha/Schema/Result/DeletedbiblioMetadata.pm | 8 ++++---- Koha/Schema/Result/Deletedbiblioitem.pm | 8 ++++---- Koha/Schema/Result/Deletedborrower.pm | 8 ++++---- Koha/Schema/Result/Deleteditem.pm | 8 ++++---- Koha/Schema/Result/Illcomment.pm | 8 ++++---- Koha/Schema/Result/Illrequest.pm | 8 ++++---- Koha/Schema/Result/ImportBatch.pm | 8 ++++---- Koha/Schema/Result/ImportRecord.pm | 8 ++++---- Koha/Schema/Result/Issue.pm | 8 ++++---- Koha/Schema/Result/Item.pm | 8 ++++---- Koha/Schema/Result/ItemsLastBorrower.pm | 8 ++++---- Koha/Schema/Result/LibraryGroup.pm | 8 ++++---- Koha/Schema/Result/Message.pm | 8 ++++---- Koha/Schema/Result/MessageQueue.pm | 8 ++++---- Koha/Schema/Result/MiscFile.pm | 8 ++++---- Koha/Schema/Result/NeedMergeAuthority.pm | 8 ++++---- Koha/Schema/Result/OldIssue.pm | 8 ++++---- Koha/Schema/Result/OldReserve.pm | 8 ++++---- Koha/Schema/Result/OpacNews.pm | 8 ++++---- Koha/Schema/Result/PendingOfflineOperation.pm | 8 ++++---- Koha/Schema/Result/Rating.pm | 8 ++++---- Koha/Schema/Result/Reserve.pm | 8 ++++---- Koha/Schema/Result/SearchHistory.pm | 8 ++++---- Koha/Schema/Result/Suggestion.pm | 8 ++++---- Koha/Schema/Result/UploadedFile.pm | 8 ++++---- Koha/Schema/Result/Virtualshelfcontent.pm | 8 ++++---- Koha/Schema/Result/Virtualshelve.pm | 8 ++++---- Koha/Schema/Result/Zebraqueue.pm | 8 ++++---- 59 files changed, 236 insertions(+), 235 deletions(-) diff --git a/Koha/Schema/Result/AccountOffset.pm b/Koha/Schema/Result/AccountOffset.pm index 02751ae83a..a39c5e84fd 100644 --- a/Koha/Schema/Result/AccountOffset.pm +++ b/Koha/Schema/Result/AccountOffset.pm @@ -58,7 +58,7 @@ __PACKAGE__->table("account_offsets"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -78,7 +78,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -153,8 +153,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-10-20 16:27:04 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tPPrIug2c7PbDO7LCxCJAA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wVOaoV0oS6YIZ3tjiUHCHA sub koha_object_class { 'Koha::Account::Offset'; diff --git a/Koha/Schema/Result/Accountline.pm b/Koha/Schema/Result/Accountline.pm index 12bb08c17e..4c4fefa936 100644 --- a/Koha/Schema/Result/Accountline.pm +++ b/Koha/Schema/Result/Accountline.pm @@ -99,7 +99,7 @@ __PACKAGE__->table("accountlines"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 note @@ -167,7 +167,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "note", @@ -367,8 +367,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-19 09:20:20 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BuE4CYsSH4BwXZoQKE2MWw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OCRlOuszEE1gANFb2Nb4WA sub koha_objects_class { 'Koha::Account::Lines'; diff --git a/Koha/Schema/Result/ActionLog.pm b/Koha/Schema/Result/ActionLog.pm index 78236ea9eb..2d20194bec 100644 --- a/Koha/Schema/Result/ActionLog.pm +++ b/Koha/Schema/Result/ActionLog.pm @@ -33,7 +33,7 @@ __PACKAGE__->table("action_logs"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 user @@ -77,7 +77,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "user", @@ -107,8 +107,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("action_id"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VVXBchLYkj+S+lLhl7bKgw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UbmbpOMtB06AMETZPv14xQ # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Aqbudget.pm b/Koha/Schema/Result/Aqbudget.pm index f8f05f49c1..8f17e80778 100644 --- a/Koha/Schema/Result/Aqbudget.pm +++ b/Koha/Schema/Result/Aqbudget.pm @@ -82,7 +82,7 @@ __PACKAGE__->table("aqbudgets"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 budget_period_id @@ -153,7 +153,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "budget_period_id", @@ -298,8 +298,8 @@ Composing rels: L -> borrowernumber __PACKAGE__->many_to_many("borrowernumbers", "aqbudgetborrowers", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-07-16 13:50:45 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zB7ox8a4KdDGq5fsbQfLGQ +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zMiVBIF/QyhLIb3WR9A93w sub koha_object_class { diff --git a/Koha/Schema/Result/AqinvoiceAdjustment.pm b/Koha/Schema/Result/AqinvoiceAdjustment.pm index 16bc45acb2..913b9f12ee 100644 --- a/Koha/Schema/Result/AqinvoiceAdjustment.pm +++ b/Koha/Schema/Result/AqinvoiceAdjustment.pm @@ -68,7 +68,7 @@ __PACKAGE__->table("aqinvoice_adjustments"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -92,7 +92,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -147,8 +147,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-07-19 17:32:57 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jl0qxkZWVs2D1pi3kaRjpg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/EE6vTDcqTME+AqE5FIB6Q sub koha_object_class { 'Koha::Acquisition::Invoice::Adjustment'; diff --git a/Koha/Schema/Result/Aqorder.pm b/Koha/Schema/Result/Aqorder.pm index a6ab12cf6a..5a75d93ad6 100644 --- a/Koha/Schema/Result/Aqorder.pm +++ b/Koha/Schema/Result/Aqorder.pm @@ -143,7 +143,7 @@ __PACKAGE__->table("aqorders"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 rrp @@ -371,7 +371,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "rrp", @@ -661,8 +661,8 @@ Composing rels: L -> borrowernumber __PACKAGE__->many_to_many("borrowernumbers", "aqorder_users", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-08-31 11:51:37 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GQEXetlivZm7buQohl8m4A +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ce3gSrfQNSBKrDzmW2tWyg __PACKAGE__->belongs_to( "basket", diff --git a/Koha/Schema/Result/AqordersItem.pm b/Koha/Schema/Result/AqordersItem.pm index ac99f2e10c..f43ba78a1d 100644 --- a/Koha/Schema/Result/AqordersItem.pm +++ b/Koha/Schema/Result/AqordersItem.pm @@ -38,7 +38,7 @@ __PACKAGE__->table("aqorders_items"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -52,7 +52,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -87,8 +87,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hvDuLTY3idYc1ujykNDrPQ +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qHnCftc9aHiS5xKev82nMQ # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/AqordersTransfer.pm b/Koha/Schema/Result/AqordersTransfer.pm index 68008babda..04acb68db1 100644 --- a/Koha/Schema/Result/AqordersTransfer.pm +++ b/Koha/Schema/Result/AqordersTransfer.pm @@ -39,7 +39,7 @@ __PACKAGE__->table("aqorders_transfers"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -53,7 +53,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -127,8 +127,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Z6+vESlzZKjZloNvrEHpxA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pvk/ImepgI8rEPz0Ih+WdA # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/ArticleRequest.pm b/Koha/Schema/Result/ArticleRequest.pm index b787c91eca..06c9c9051d 100644 --- a/Koha/Schema/Result/ArticleRequest.pm +++ b/Koha/Schema/Result/ArticleRequest.pm @@ -116,7 +116,7 @@ __PACKAGE__->table("article_requests"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -167,7 +167,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -257,8 +257,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-02 09:44:27 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Dhz1mVI7Z/6ibqaBZkPvUA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4FFFYJG7J8xtNC2Cw3AH+Q # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/AuthHeader.pm b/Koha/Schema/Result/AuthHeader.pm index d406e27128..351a2fbe33 100644 --- a/Koha/Schema/Result/AuthHeader.pm +++ b/Koha/Schema/Result/AuthHeader.pm @@ -47,7 +47,7 @@ __PACKAGE__->table("auth_header"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 origincode @@ -94,7 +94,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "origincode", @@ -122,8 +122,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("authid"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kHEdfMFYFtn3sQ20qsdFyg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:L4b7/K8WmOoD7PdIG3VDyg sub koha_object_class { 'Koha::Authority'; diff --git a/Koha/Schema/Result/Biblio.pm b/Koha/Schema/Result/Biblio.pm index 7c66b1dc03..74338deebd 100644 --- a/Koha/Schema/Result/Biblio.pm +++ b/Koha/Schema/Result/Biblio.pm @@ -95,7 +95,7 @@ __PACKAGE__->table("biblio"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 datecreated @@ -142,7 +142,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "datecreated", @@ -406,8 +406,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:otCex8qzJmZyc+JXpKNdpQ +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:X9+6nur2GDb9NVnhNb6Jag __PACKAGE__->has_one( diff --git a/Koha/Schema/Result/BiblioMetadata.pm b/Koha/Schema/Result/BiblioMetadata.pm index aa1a7b25ee..7a032df1f3 100644 --- a/Koha/Schema/Result/BiblioMetadata.pm +++ b/Koha/Schema/Result/BiblioMetadata.pm @@ -56,7 +56,7 @@ __PACKAGE__->table("biblio_metadata"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -76,7 +76,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -132,8 +132,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-01-30 11:34:16 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FJk/YOw8Y/QRmmPPL3G5qQ +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KwjHx7r8FU+9eenrGJL7nQ sub koha_object_class { 'Koha::Biblio::Metadata'; diff --git a/Koha/Schema/Result/Biblioimage.pm b/Koha/Schema/Result/Biblioimage.pm index 090e6b20f6..e3f43fc44a 100644 --- a/Koha/Schema/Result/Biblioimage.pm +++ b/Koha/Schema/Result/Biblioimage.pm @@ -55,7 +55,7 @@ __PACKAGE__->table("biblioimages"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -75,7 +75,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -110,8 +110,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-20 10:39:00 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:f6elSD3dDk6vWE4bUirmew +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZSfwizoZp2meou8P0o3khA # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Biblioitem.pm b/Koha/Schema/Result/Biblioitem.pm index 49e52e7678..d3552698c5 100644 --- a/Koha/Schema/Result/Biblioitem.pm +++ b/Koha/Schema/Result/Biblioitem.pm @@ -118,7 +118,7 @@ __PACKAGE__->table("biblioitems"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 illus @@ -248,7 +248,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "illus", @@ -326,8 +326,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ogVRTKNaUQSI3BE2xC2lww +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QVWw6CCU9RCOSbnG23cqIQ __PACKAGE__->belongs_to( biblio => "Koha::Schema::Result::Biblio", "biblionumber" ); diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index dd305eca39..2998b9082c 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -425,7 +425,7 @@ __PACKAGE__->table("borrowers"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 lastseen @@ -640,7 +640,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "lastseen", @@ -1650,8 +1650,8 @@ Composing rels: L -> ordernumber __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-03 16:19:12 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+f1QrESEOMGM1coANPgWtQ +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:M1u9Io+xE9wlnh7m06l+0A __PACKAGE__->add_columns( '+anonymized' => { is_boolean => 1 }, diff --git a/Koha/Schema/Result/BorrowerDebarment.pm b/Koha/Schema/Result/BorrowerDebarment.pm index 0a603de58a..e4b49dd829 100644 --- a/Koha/Schema/Result/BorrowerDebarment.pm +++ b/Koha/Schema/Result/BorrowerDebarment.pm @@ -62,7 +62,7 @@ __PACKAGE__->table("borrower_debarments"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 updated @@ -95,7 +95,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "updated", @@ -136,8 +136,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:J9J1ReRLqhVasOQXvde2Uw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:j4skIh7xT8mvrpnIz/nHyw # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/BorrowerFile.pm b/Koha/Schema/Result/BorrowerFile.pm index 6f0982d519..f8065e7441 100644 --- a/Koha/Schema/Result/BorrowerFile.pm +++ b/Koha/Schema/Result/BorrowerFile.pm @@ -62,7 +62,7 @@ __PACKAGE__->table("borrower_files"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -84,7 +84,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -119,8 +119,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sbkf7bvdO4CgmiBLgIwYQg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uoOkVKEPlidhskZQPEKOJQ # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm index 3db708d3fc..9230180666 100644 --- a/Koha/Schema/Result/BorrowerModification.pm +++ b/Koha/Schema/Result/BorrowerModification.pm @@ -27,7 +27,7 @@ __PACKAGE__->table("borrower_modifications"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 verification_token @@ -428,7 +428,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "verification_token", @@ -610,8 +610,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("verification_token", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-07-22 16:54:42 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jkZUTN+mGIdp8ySV0BYNTw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:plfFkRpx8PZqYKsNwEuUkQ sub koha_object_class { 'Koha::Patron::Modification'; diff --git a/Koha/Schema/Result/BorrowerPasswordRecovery.pm b/Koha/Schema/Result/BorrowerPasswordRecovery.pm index c7f567d102..e9a0e6c6d7 100644 --- a/Koha/Schema/Result/BorrowerPasswordRecovery.pm +++ b/Koha/Schema/Result/BorrowerPasswordRecovery.pm @@ -38,7 +38,7 @@ __PACKAGE__->table("borrower_password_recovery"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -52,7 +52,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -70,8 +70,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2016-01-22 10:16:52 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:c4ehAGqOD6YHpGg85BX8YQ +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DbHfJVUGJBDNS1JYUxcImA # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/CashRegisterAction.pm b/Koha/Schema/Result/CashRegisterAction.pm index 6643a73a85..72a22f4320 100644 --- a/Koha/Schema/Result/CashRegisterAction.pm +++ b/Koha/Schema/Result/CashRegisterAction.pm @@ -57,7 +57,7 @@ __PACKAGE__->table("cash_register_actions"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -77,7 +77,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -127,8 +127,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-07-23 13:21:03 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Oaee+hS82IEJHHBGuOXDtw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:j7Jylt5Azw8C5Pnj/zcRDg sub koha_objects_class { 'Koha::Cash::Register::Actions'; diff --git a/Koha/Schema/Result/Club.pm b/Koha/Schema/Result/Club.pm index 7710a752d0..444cb9b638 100644 --- a/Koha/Schema/Result/Club.pm +++ b/Koha/Schema/Result/Club.pm @@ -68,7 +68,7 @@ __PACKAGE__->table("clubs"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 date_updated @@ -98,7 +98,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "date_updated", @@ -204,8 +204,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WbB7PSSU4xaszsKe9Eacqw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pvTTMHnhno0LkfpkHubikg # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/ClubEnrollment.pm b/Koha/Schema/Result/ClubEnrollment.pm index f428a5da6f..1a7d6897bb 100644 --- a/Koha/Schema/Result/ClubEnrollment.pm +++ b/Koha/Schema/Result/ClubEnrollment.pm @@ -45,7 +45,7 @@ __PACKAGE__->table("club_enrollments"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 date_canceled @@ -86,7 +86,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "date_canceled", @@ -191,8 +191,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-12 17:59:47 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ih/HQM4KIRDZ0ESXVR9FwA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:x5ia3ev86/adks8xURbnJA sub koha_object_class { 'Koha::Club::Enrollment'; diff --git a/Koha/Schema/Result/ClubHold.pm b/Koha/Schema/Result/ClubHold.pm index fca4b51046..51e8b66bb3 100644 --- a/Koha/Schema/Result/ClubHold.pm +++ b/Koha/Schema/Result/ClubHold.pm @@ -51,7 +51,7 @@ __PACKAGE__->table("club_holds"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -69,7 +69,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -154,8 +154,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FYGXVx1P2R+dGbeP1xshPA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TSOaqIwWlT87sdtsxyzGUw sub koha_objects_class { 'Koha::Club::Holds'; diff --git a/Koha/Schema/Result/ClubHoldsToPatronHold.pm b/Koha/Schema/Result/ClubHoldsToPatronHold.pm index 59ffca0daf..8f3e937885 100644 --- a/Koha/Schema/Result/ClubHoldsToPatronHold.pm +++ b/Koha/Schema/Result/ClubHoldsToPatronHold.pm @@ -50,7 +50,7 @@ __PACKAGE__->table("club_holds_to_patron_holds"); =head2 error_code data_type: 'enum' - extra: {list => ["damaged","ageRestricted","itemAlreadyOnHold","tooManyHoldsForThisRecord","tooManyReservesToday","tooManyReserves","notReservable","cannotReserveFromOtherBranches","libraryNotFound","libraryNotPickupLocation","cannotBeTransferred"]} + extra: {list => ["damaged","ageRestricted","itemAlreadyOnHold","tooManyHoldsForThisRecord","tooManyReservesToday","tooManyReserves","notReservable","cannotReserveFromOtherBranches","libraryNotFound","libraryNotPickupLocation","cannotBeTransferred","noReservesAllowed"]} is_nullable: 1 =head2 error_message @@ -86,6 +86,7 @@ __PACKAGE__->add_columns( "libraryNotFound", "libraryNotPickupLocation", "cannotBeTransferred", + "noReservesAllowed", ], }, is_nullable => 1, @@ -159,8 +160,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/T626DfqUi7SnXOyieUzYw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uqSwbOH9QI7NdXPyPeEOGg sub koha_objects_class { 'Koha::Club::Hold::PatronHolds'; diff --git a/Koha/Schema/Result/ClubTemplate.pm b/Koha/Schema/Result/ClubTemplate.pm index bbc5f49a5f..528963b59e 100644 --- a/Koha/Schema/Result/ClubTemplate.pm +++ b/Koha/Schema/Result/ClubTemplate.pm @@ -62,7 +62,7 @@ __PACKAGE__->table("club_templates"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 date_updated @@ -96,7 +96,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "date_updated", @@ -189,8 +189,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1UuejI9kkTb9eeNKvSLAQQ +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:t2NzGpr95PXezYIXvUQGKw sub koha_object_class { 'Koha::Club::Template'; diff --git a/Koha/Schema/Result/Course.pm b/Koha/Schema/Result/Course.pm index cd1ede28e3..75719f392f 100644 --- a/Koha/Schema/Result/Course.pm +++ b/Koha/Schema/Result/Course.pm @@ -86,7 +86,7 @@ __PACKAGE__->table("courses"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -121,7 +121,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -181,8 +181,8 @@ Composing rels: L -> borrowernumber __PACKAGE__->many_to_many("borrowernumbers", "course_instructors", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:o0EBOuJCHxH5IG/PgsJfxg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:05y+EyJ92scktOZyGRgDVg # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/CourseItem.pm b/Koha/Schema/Result/CourseItem.pm index 5df7ec6034..4964e49369 100644 --- a/Koha/Schema/Result/CourseItem.pm +++ b/Koha/Schema/Result/CourseItem.pm @@ -71,7 +71,7 @@ __PACKAGE__->table("course_items"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -100,7 +100,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -184,8 +184,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-26 16:15:09 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0hBp2R7AMxgHLLZcG/676w +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PsQ3JMJSBEW0I/KUQk5SVw # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/CourseReserve.pm b/Koha/Schema/Result/CourseReserve.pm index 080d699cba..d4470b8ba3 100644 --- a/Koha/Schema/Result/CourseReserve.pm +++ b/Koha/Schema/Result/CourseReserve.pm @@ -55,7 +55,7 @@ __PACKAGE__->table("course_reserves"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -75,7 +75,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -141,8 +141,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8SDdUrbxKuAwp6rgn85RmA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7axP1ABT5VbBpSO9qUVchw # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/CreatorBatch.pm b/Koha/Schema/Result/CreatorBatch.pm index 7f6f07faad..1f533106e2 100644 --- a/Koha/Schema/Result/CreatorBatch.pm +++ b/Koha/Schema/Result/CreatorBatch.pm @@ -56,7 +56,7 @@ __PACKAGE__->table("creator_batches"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 branch_code @@ -91,7 +91,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "branch_code", @@ -181,8 +181,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-24 17:34:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5SOMkaJ6IxGtnqtPVFpNtg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5yfIz6zBzFZhErIb4CNi+w # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Currency.pm b/Koha/Schema/Result/Currency.pm index 720fa5ac59..a47dc492e0 100644 --- a/Koha/Schema/Result/Currency.pm +++ b/Koha/Schema/Result/Currency.pm @@ -46,7 +46,7 @@ __PACKAGE__->table("currency"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 rate @@ -85,7 +85,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "rate", @@ -158,8 +158,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-01 14:23:58 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PnJEcCgrM1Edf99phWFdyQ +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:R6W4h71d4TucTLRR3wHRWA sub koha_object_class { diff --git a/Koha/Schema/Result/Deletedbiblio.pm b/Koha/Schema/Result/Deletedbiblio.pm index 5d02066493..15acdae188 100644 --- a/Koha/Schema/Result/Deletedbiblio.pm +++ b/Koha/Schema/Result/Deletedbiblio.pm @@ -95,7 +95,7 @@ __PACKAGE__->table("deletedbiblio"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 datecreated @@ -142,7 +142,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "datecreated", @@ -181,8 +181,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-08-05 13:53:34 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FQaznWmkfR2Ge5NG8lDmSw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/IRIJbdl232FvHr+XyRbOw sub koha_objects_class { 'Koha::Old::Biblios'; diff --git a/Koha/Schema/Result/DeletedbiblioMetadata.pm b/Koha/Schema/Result/DeletedbiblioMetadata.pm index 17406b9ca4..697949490d 100644 --- a/Koha/Schema/Result/DeletedbiblioMetadata.pm +++ b/Koha/Schema/Result/DeletedbiblioMetadata.pm @@ -56,7 +56,7 @@ __PACKAGE__->table("deletedbiblio_metadata"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -76,7 +76,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -132,8 +132,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-01-30 11:34:16 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JCOh+FSSTgPlC8lMJOdOOA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NkpTVCjkA/NDwlGZ7RAIfw # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Deletedbiblioitem.pm b/Koha/Schema/Result/Deletedbiblioitem.pm index e2849ecd99..e916110405 100644 --- a/Koha/Schema/Result/Deletedbiblioitem.pm +++ b/Koha/Schema/Result/Deletedbiblioitem.pm @@ -117,7 +117,7 @@ __PACKAGE__->table("deletedbiblioitems"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 illus @@ -242,7 +242,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "illus", @@ -288,8 +288,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("biblioitemnumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QLYBa1Ea8Jau2Wy6U+wyQw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4bkBnPTzVjWG77yL5roaWA sub koha_objects_class { 'Koha::Old::Biblioitems'; diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 1ba0873e2f..6ef3f52f8c 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -422,7 +422,7 @@ __PACKAGE__->table("deletedborrowers"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 lastseen @@ -625,7 +625,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "lastseen", @@ -650,8 +650,8 @@ __PACKAGE__->add_columns( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-05-22 04:33:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zK1jC6Wawwj8B2ch9KFByw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uk+05aTNy9IwGqPTiB1hRQ sub koha_objects_class { 'Koha::Old::Patrons'; diff --git a/Koha/Schema/Result/Deleteditem.pm b/Koha/Schema/Result/Deleteditem.pm index 70a3e36eb0..73b525fc5e 100644 --- a/Koha/Schema/Result/Deleteditem.pm +++ b/Koha/Schema/Result/Deleteditem.pm @@ -198,7 +198,7 @@ __PACKAGE__->table("deleteditems"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 location @@ -360,7 +360,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "location", @@ -406,8 +406,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("itemnumber"); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-17 10:42:24 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1+z3OHx5OpOcP82k8vyAaA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+frWKGC4S/rVghEjnOsP+w sub koha_objects_class { 'Koha::Old::Items'; diff --git a/Koha/Schema/Result/Illcomment.pm b/Koha/Schema/Result/Illcomment.pm index 04a04370c4..93c05076aa 100644 --- a/Koha/Schema/Result/Illcomment.pm +++ b/Koha/Schema/Result/Illcomment.pm @@ -51,7 +51,7 @@ __PACKAGE__->table("illcomments"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -74,7 +74,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -129,8 +129,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-26 19:57:17 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JJC9ohn0V61+WzMppDKUJw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:a2h4KfpSnSr/cWIdWwrKOQ # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Illrequest.pm b/Koha/Schema/Result/Illrequest.pm index 4260a8d2df..62e4a92eeb 100644 --- a/Koha/Schema/Result/Illrequest.pm +++ b/Koha/Schema/Result/Illrequest.pm @@ -77,7 +77,7 @@ __PACKAGE__->table("illrequests"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 completed @@ -160,7 +160,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "completed", @@ -283,8 +283,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-02-22 14:32:49 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:I6fY8XRfEmRxSzOeVT9Krw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sZzeTdqODgOt4v0vZQtlww # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/ImportBatch.pm b/Koha/Schema/Result/ImportBatch.pm index c2fd81c79a..6d1c42f9b6 100644 --- a/Koha/Schema/Result/ImportBatch.pm +++ b/Koha/Schema/Result/ImportBatch.pm @@ -61,7 +61,7 @@ __PACKAGE__->table("import_batches"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 overlay_action @@ -136,7 +136,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "overlay_action", @@ -235,8 +235,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:41giNJCRD9WXC4IGO/1D3A +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LY7V5NkwG4MTVs5pLihiCg # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/ImportRecord.pm b/Koha/Schema/Result/ImportRecord.pm index 8499e4bb86..215a6b3acb 100644 --- a/Koha/Schema/Result/ImportRecord.pm +++ b/Koha/Schema/Result/ImportRecord.pm @@ -51,7 +51,7 @@ __PACKAGE__->table("import_records"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 import_date @@ -123,7 +123,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "import_date", @@ -262,8 +262,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-18 10:50:48 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bqIAQzhgioWtBWU8zFdtjw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sbV6LLfWu+PHxa3CgNSMaA # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Issue.pm b/Koha/Schema/Result/Issue.pm index 8bb16b6b92..e76c68729a 100644 --- a/Koha/Schema/Result/Issue.pm +++ b/Koha/Schema/Result/Issue.pm @@ -87,7 +87,7 @@ __PACKAGE__->table("issues"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 issuedate @@ -157,7 +157,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "issuedate", @@ -264,8 +264,8 @@ __PACKAGE__->might_have( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-31 12:18:38 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QVmFa5b0Pe5OhUI92n9kzQ +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kgdsc6aPHfsTN+Cago2vZA __PACKAGE__->add_columns( '+auto_renew' => { is_boolean => 1 }, diff --git a/Koha/Schema/Result/Item.pm b/Koha/Schema/Result/Item.pm index 58cddf4502..a1183de3cf 100644 --- a/Koha/Schema/Result/Item.pm +++ b/Koha/Schema/Result/Item.pm @@ -202,7 +202,7 @@ __PACKAGE__->table("items"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 location @@ -374,7 +374,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "location", @@ -746,8 +746,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-17 10:42:24 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CcrMhgq+PQ1MHV6jZEN8wA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8rXZr+VH9UlEdSv7boyUDA __PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" ); diff --git a/Koha/Schema/Result/ItemsLastBorrower.pm b/Koha/Schema/Result/ItemsLastBorrower.pm index 1a97cd7673..17889b78a7 100644 --- a/Koha/Schema/Result/ItemsLastBorrower.pm +++ b/Koha/Schema/Result/ItemsLastBorrower.pm @@ -45,7 +45,7 @@ __PACKAGE__->table("items_last_borrower"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -61,7 +61,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -125,8 +125,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07040 @ 2015-10-02 12:33:33 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ByHKNZCEz4a1AqTnOJgUWA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8Pq2Q3P0tjylKOg9b+xCkg # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/LibraryGroup.pm b/Koha/Schema/Result/LibraryGroup.pm index 6ffb7a8ac4..5280a67dd1 100644 --- a/Koha/Schema/Result/LibraryGroup.pm +++ b/Koha/Schema/Result/LibraryGroup.pm @@ -87,7 +87,7 @@ __PACKAGE__->table("library_groups"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -121,7 +121,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -224,8 +224,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-30 15:43:39 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qg0Ckj0ZBRjSaQgEcvxSZA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VXW6djXyw9OKTuzUQDDgwA sub koha_object_class { 'Koha::Library::Group'; diff --git a/Koha/Schema/Result/Message.pm b/Koha/Schema/Result/Message.pm index 4f4237ed6b..39af55c6ef 100644 --- a/Koha/Schema/Result/Message.pm +++ b/Koha/Schema/Result/Message.pm @@ -56,7 +56,7 @@ __PACKAGE__->table("messages"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 manager_id @@ -82,7 +82,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "manager_id", @@ -139,8 +139,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-02-15 13:15:09 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kYM+0CFPm/wdNp7EosdlRw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:r91sg0bK0t8vEPTSzbHu0A sub koha_object_class { 'Koha::Patron::Message'; diff --git a/Koha/Schema/Result/MessageQueue.pm b/Koha/Schema/Result/MessageQueue.pm index 89d95ac8e4..c2af2cf7ed 100644 --- a/Koha/Schema/Result/MessageQueue.pm +++ b/Koha/Schema/Result/MessageQueue.pm @@ -80,7 +80,7 @@ __PACKAGE__->table("message_queue"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 to_address @@ -137,7 +137,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "to_address", @@ -200,8 +200,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-25 09:43:49 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9M95gvHiqvdGdahHEHaFaA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IwWS/JqkQZQ7n41x/ZvY0A sub koha_object_class { 'Koha::Notice::Message'; diff --git a/Koha/Schema/Result/MiscFile.pm b/Koha/Schema/Result/MiscFile.pm index c194ce0fa0..71ad7ccfd6 100644 --- a/Koha/Schema/Result/MiscFile.pm +++ b/Koha/Schema/Result/MiscFile.pm @@ -67,7 +67,7 @@ __PACKAGE__->table("misc_files"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -91,7 +91,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -109,8 +109,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("file_id"); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2014-05-25 21:17:02 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VWGyKXxK0dqymMsEGCjJxg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7cCDmBrLJP7GQTv2ydY5Zw # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/NeedMergeAuthority.pm b/Koha/Schema/Result/NeedMergeAuthority.pm index a4e4795e11..ff65d55742 100644 --- a/Koha/Schema/Result/NeedMergeAuthority.pm +++ b/Koha/Schema/Result/NeedMergeAuthority.pm @@ -48,7 +48,7 @@ __PACKAGE__->table("need_merge_authorities"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 done @@ -72,7 +72,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "done", @@ -92,8 +92,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("id"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7LzwIYvExKvNgr8/HDZlsg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HcS5yMoj/jZwpb4Ifk7UdQ sub koha_object_class { 'Koha::Authority::MergeRequest'; diff --git a/Koha/Schema/Result/OldIssue.pm b/Koha/Schema/Result/OldIssue.pm index f1ff5c2fa6..5973f613c2 100644 --- a/Koha/Schema/Result/OldIssue.pm +++ b/Koha/Schema/Result/OldIssue.pm @@ -86,7 +86,7 @@ __PACKAGE__->table("old_issues"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 issuedate @@ -156,7 +156,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "issuedate", @@ -234,8 +234,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-10 19:55:44 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:E2N2paWcCHg916100ry+2A +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rb6KjfhgS5agUgyAXA0gew __PACKAGE__->add_columns( '+auto_renew' => { is_boolean => 1 }, diff --git a/Koha/Schema/Result/OldReserve.pm b/Koha/Schema/Result/OldReserve.pm index 85e604d288..8c4cf5f3f8 100644 --- a/Koha/Schema/Result/OldReserve.pm +++ b/Koha/Schema/Result/OldReserve.pm @@ -91,7 +91,7 @@ __PACKAGE__->table("old_reserves"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 itemnumber @@ -173,7 +173,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "itemnumber", @@ -298,8 +298,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4vMUC/1kSr3vgQ7n0Pmuug +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:P6rJ8vcjZf/FiE5iroyB+w sub koha_object_class { 'Koha::Old::Hold'; diff --git a/Koha/Schema/Result/OpacNews.pm b/Koha/Schema/Result/OpacNews.pm index c3906da824..f4c83dbf37 100644 --- a/Koha/Schema/Result/OpacNews.pm +++ b/Koha/Schema/Result/OpacNews.pm @@ -60,7 +60,7 @@ __PACKAGE__->table("opac_news"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 expirationdate @@ -102,7 +102,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "expirationdate", @@ -168,8 +168,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gApTRM/dF6uZSMYyvkt4OQ +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cv65lNWO5K1RH62O2gtydQ sub koha_object_class { 'Koha::NewsItem'; diff --git a/Koha/Schema/Result/PendingOfflineOperation.pm b/Koha/Schema/Result/PendingOfflineOperation.pm index 37e791880d..22b08184ce 100644 --- a/Koha/Schema/Result/PendingOfflineOperation.pm +++ b/Koha/Schema/Result/PendingOfflineOperation.pm @@ -45,7 +45,7 @@ __PACKAGE__->table("pending_offline_operations"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 action @@ -85,7 +85,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "action", @@ -111,8 +111,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("operationid"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-10-27 13:24:06 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EA2gwvRWvFVCPyIB94jCdw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:m/hN/mZwvJQy+DqmeM51fw # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Rating.pm b/Koha/Schema/Result/Rating.pm index a8fe6e436b..cb91ddd7ef 100644 --- a/Koha/Schema/Result/Rating.pm +++ b/Koha/Schema/Result/Rating.pm @@ -44,7 +44,7 @@ __PACKAGE__->table("ratings"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -60,7 +60,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -112,8 +112,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YT3jPQbA2TBuOuUXfEt7gQ +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oX4w9AyaBp6ikfeIxCFi9A # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Reserve.pm b/Koha/Schema/Result/Reserve.pm index c5460e34da..4b9a8e0fb5 100644 --- a/Koha/Schema/Result/Reserve.pm +++ b/Koha/Schema/Result/Reserve.pm @@ -95,7 +95,7 @@ __PACKAGE__->table("reserves"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 itemnumber @@ -187,7 +187,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "itemnumber", @@ -337,8 +337,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VH7h5kYo9WhlGobXb3N3Jg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:57a4rIwssh1FaZQrxcGgSw __PACKAGE__->belongs_to( "item", diff --git a/Koha/Schema/Result/SearchHistory.pm b/Koha/Schema/Result/SearchHistory.pm index e2886df82c..8b8d809d5c 100644 --- a/Koha/Schema/Result/SearchHistory.pm +++ b/Koha/Schema/Result/SearchHistory.pm @@ -67,7 +67,7 @@ __PACKAGE__->table("search_history"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -96,7 +96,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -114,8 +114,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("id"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:d+Qf8sL7wLldvw2qPLoBgQ +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:n40f5iDWOrJK/lU8GoZouA # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Suggestion.pm b/Koha/Schema/Result/Suggestion.pm index 1668744771..ec6cf840d8 100644 --- a/Koha/Schema/Result/Suggestion.pm +++ b/Koha/Schema/Result/Suggestion.pm @@ -117,7 +117,7 @@ __PACKAGE__->table("suggestions"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 volumedesc @@ -250,7 +250,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "volumedesc", @@ -440,8 +440,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-11 12:56:41 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UsG/gxLa0HMMbcpbscV29Q +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:p8ADp83DykWQw77/HNSc4A __PACKAGE__->belongs_to( "suggester", diff --git a/Koha/Schema/Result/UploadedFile.pm b/Koha/Schema/Result/UploadedFile.pm index 5a4397db69..49140f78c4 100644 --- a/Koha/Schema/Result/UploadedFile.pm +++ b/Koha/Schema/Result/UploadedFile.pm @@ -54,7 +54,7 @@ __PACKAGE__->table("uploaded_files"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 uploadcategorycode @@ -94,7 +94,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "uploadcategorycode", @@ -120,8 +120,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("id"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kJUbIULQMBo3t51HvWC8cg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:47IO+O1kxvsMmk1E45wu2w # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Virtualshelfcontent.pm b/Koha/Schema/Result/Virtualshelfcontent.pm index a8ad19d4b0..c568aa4f07 100644 --- a/Koha/Schema/Result/Virtualshelfcontent.pm +++ b/Koha/Schema/Result/Virtualshelfcontent.pm @@ -46,7 +46,7 @@ __PACKAGE__->table("virtualshelfcontents"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 borrowernumber @@ -78,7 +78,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "borrowernumber", @@ -138,8 +138,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ie3Gx+/HthZQ/4fHjcPF0w +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nslXMdnLVPMz1qM3czV8uw #TODO See BZ 14544: Should be resolved by db revision __PACKAGE__->set_primary_key("shelfnumber","biblionumber"); diff --git a/Koha/Schema/Result/Virtualshelve.pm b/Koha/Schema/Result/Virtualshelve.pm index 83334f8ac4..66a4812f08 100644 --- a/Koha/Schema/Result/Virtualshelve.pm +++ b/Koha/Schema/Result/Virtualshelve.pm @@ -58,7 +58,7 @@ __PACKAGE__->table("virtualshelves"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =head2 created_on @@ -101,7 +101,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, "created_on", @@ -181,8 +181,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-08 14:19:17 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Xoq0lhLouCbkAp6F4ZyMGQ +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xPM6sPazZ63w6kF1WwptPQ sub koha_object_class { 'Koha::Virtualshelf'; diff --git a/Koha/Schema/Result/Zebraqueue.pm b/Koha/Schema/Result/Zebraqueue.pm index 25e6bf9659..47b7345bfa 100644 --- a/Koha/Schema/Result/Zebraqueue.pm +++ b/Koha/Schema/Result/Zebraqueue.pm @@ -60,7 +60,7 @@ __PACKAGE__->table("zebraqueue"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp + default_value: 'current_timestamp()' is_nullable: 0 =cut @@ -85,7 +85,7 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", + default_value => "current_timestamp()", is_nullable => 0, }, ); @@ -103,8 +103,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("id"); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vU9ROiVUwXc7jhKt728dRg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-23 16:17:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FnfxQQBgnTt0I5fNnJf3Sg # You can replace this text with custom content, and it will be preserved on regeneration -- 2.11.0