Bugzilla – Attachment 89539 Details for
Bug 22782
Schema change for SocialData
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22782: DBIC update for SocialData
Bug-22782-DBIC-update-for-SocialData.patch (text/plain), 1.99 KB, created by
Nick Clemens (kidclamp)
on 2019-05-10 12:17:45 UTC
(
hide
)
Description:
Bug 22782: DBIC update for SocialData
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-05-10 12:17:45 UTC
Size:
1.99 KB
patch
obsolete
>From 896b9c4bfbfd9f02b7852c2e36e2a0f61c9b0e6a Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 10 May 2019 12:10:42 +0000 >Subject: [PATCH] Bug 22782: DBIC update for SocialData > >--- > Koha/Schema/Result/SocialData.pm | 7 ++++--- > installer/data/mysql/kohastructure.sql | 2 +- > 2 files changed, 5 insertions(+), 4 deletions(-) > >diff --git a/Koha/Schema/Result/SocialData.pm b/Koha/Schema/Result/SocialData.pm >index b2d835b0b0..36cbfbbe17 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.07046 @ 2019-05-10 12:02:53 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zu/RochQZmZJZHQJnkLQvg > > > # You can replace this text with custom content, and it will be preserved on regeneration >diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql >index 77224bcac3..f82fc52357 100644 >--- a/installer/data/mysql/kohastructure.sql >+++ b/installer/data/mysql/kohastructure.sql >@@ -3311,7 +3311,7 @@ CREATE TABLE `biblioimages` ( -- local cover images > > DROP TABLE IF EXISTS `social_data`; > CREATE TABLE IF NOT EXISTS `social_data` ( >- `isbn` VARCHAR(30), >+ `isbn` VARCHAR(30) NOT NULL DEFAULT '', > `num_critics` INT, > `num_critics_pro` INT, > `num_quotations` INT, >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 22782
: 89539