From 8d21d40537d5e3872b319796c72640faf079ee57 Mon Sep 17 00:00:00 2001 From: Joy Nelson Date: Fri, 8 May 2020 21:26:45 +0000 Subject: [PATCH] DBIC update Signed-off-by: Joy Nelson --- Koha/Schema/Result/ArticleRequest.pm | 16 ++++++++-------- Koha/Schema/Result/BorrowerModification.pm | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Koha/Schema/Result/ArticleRequest.pm b/Koha/Schema/Result/ArticleRequest.pm index e26f5c4304..f6d3ddc92d 100644 --- a/Koha/Schema/Result/ArticleRequest.pm +++ b/Koha/Schema/Result/ArticleRequest.pm @@ -110,14 +110,14 @@ __PACKAGE__->table("article_requests"); data_type: 'timestamp' datetime_undef_if_invalid: 1 - default_value: current_timestamp - is_nullable: 0 + is_nullable: 1 =head2 updated_on data_type: 'timestamp' datetime_undef_if_invalid: 1 - is_nullable: 1 + default_value: current_timestamp + is_nullable: 0 =cut @@ -161,14 +161,14 @@ __PACKAGE__->add_columns( { data_type => "timestamp", datetime_undef_if_invalid => 1, - default_value => \"current_timestamp", - is_nullable => 0, + is_nullable => 1, }, "updated_on", { data_type => "timestamp", datetime_undef_if_invalid => 1, - is_nullable => 1, + default_value => \"current_timestamp", + is_nullable => 0, }, ); @@ -257,8 +257,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:BOBB3vld8wY75u45YldoEg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-05-08 21:24:13 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Wq5gLdFKq+fm8bM5pnrgaQ # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm index 3db708d3fc..141d1ee575 100644 --- a/Koha/Schema/Result/BorrowerModification.pm +++ b/Koha/Schema/Result/BorrowerModification.pm @@ -40,7 +40,7 @@ __PACKAGE__->table("borrower_modifications"); =head2 changed_fields data_type: 'mediumtext' - is_nullable: 0 + is_nullable: 1 =head2 borrowernumber @@ -434,7 +434,7 @@ __PACKAGE__->add_columns( "verification_token", { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, "changed_fields", - { data_type => "mediumtext", is_nullable => 0 }, + { data_type => "mediumtext", is_nullable => 1 }, "borrowernumber", { data_type => "integer", default_value => 0, is_nullable => 0 }, "cardnumber", @@ -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-05-08 21:24:13 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fJn9Z9CV3JKWYLqcsfIAaA sub koha_object_class { 'Koha::Patron::Modification'; -- 2.39.5