[Koha-bugs] [Bug 22096] New: Missing default values in 'social_data' table
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jan 10 17:39:06 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22096
Bug ID: 22096
Summary: Missing default values in 'social_data' table
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Database
Assignee: koha-bugs at lists.koha-community.org
Reporter: tomascohen at gmail.com
QA Contact: testopia at bugs.koha-community.org
Target Milestone: ---
With strict SQL modes enabled there is a discrepancy in the generated schema
files:
diff --git a/Koha/Schema/Result/SocialData.pm
b/Koha/Schema/Result/SocialData.pm
index b2d835b..0388635 100644
--- a/Koha/Schema/Result/SocialData.pm
+++ b/Koha/Schema/Result/SocialData.pm
@@ -26,6 +26,7 @@ __PACKAGE__->table("social_data");
=head2 isbn
data_type: 'varchar'
+ default_value: (empty string)
is_nullable: 0
size: 30
@@ -64,7 +65,7 @@ __PACKAGE__->table("social_data");
__PACKAGE__->add_columns(
"isbn",
- { data_type => "varchar", is_nullable => 0, size => 30 },
+ { data_type => "varchar", default_value => "", is_nullable => 0, size => 30
},
"num_critics",
{ data_type => "integer", is_nullable => 1 },
"num_critics_pro",
@@ -92,8 +93,8 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("isbn");
-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-11-13 15:24:28
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:l44tYFEfIKX0xXzj6AHInQ
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-01-09 05:01:13
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JQqbbM1Yf7tRSgkcyinHIw
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list