From 514282d04c4494ca5eee02b18c775db74a6bbb91 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 6 Sep 2016 09:37:14 +0000 Subject: [PATCH] Bug 16573 - Update Schema Signed-off-by: Kyle M Hall --- Koha/Schema/Result/Issuingrule.pm | 6 +++--- Koha/Schema/Result/Virtualshelve.pm | 10 ++++------ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/Koha/Schema/Result/Issuingrule.pm b/Koha/Schema/Result/Issuingrule.pm index 50417e2496..1ed60a9226 100644 --- a/Koha/Schema/Result/Issuingrule.pm +++ b/Koha/Schema/Result/Issuingrule.pm @@ -284,9 +284,9 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-12-28 16:26:37 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/3xm7W/T/nWlYVlokMTgjQ +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-09-06 09:35:36 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HkvNR2YHTkqN2PnQk5XGAA -# You can replace this text with custom content, and it will be preserved on regeneration +# You can replace this text with custom code or comments, and it will be preserved on regeneration 1; diff --git a/Koha/Schema/Result/Virtualshelve.pm b/Koha/Schema/Result/Virtualshelve.pm index bd6c050522..e4b2973d46 100644 --- a/Koha/Schema/Result/Virtualshelve.pm +++ b/Koha/Schema/Result/Virtualshelve.pm @@ -63,9 +63,8 @@ __PACKAGE__->table("virtualshelves"); =head2 created_on - data_type: 'timestamp' + data_type: 'datetime' datetime_undef_if_invalid: 1 - default_value: '0000-00-00 00:00:00' is_nullable: 0 =head2 allow_add @@ -113,9 +112,8 @@ __PACKAGE__->add_columns( }, "created_on", { - data_type => "timestamp", + data_type => "datetime", datetime_undef_if_invalid => 1, - default_value => "0000-00-00 00:00:00", is_nullable => 0, }, "allow_add", @@ -191,8 +189,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-11-05 10:39:28 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:O3y89+0IUoePtcIHAqR+oA +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-09-06 09:35:37 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wfAdz7LrmH49vdJ3f5rsmA # You can replace this text with custom content, and it will be preserved on regeneration -- 2.39.5