From 5caedfb633f5046b03007c5c882c70d2ca0737da Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 24 Oct 2014 10:00:37 -0300 Subject: [PATCH] Bug 2969: Update DBIx Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/Biblioitem.pm | 8 ++++---- Koha/Schema/Result/Deletedbiblioitem.pm | 8 ++++---- Koha/Schema/Result/Deleteditem.pm | 8 ++++---- Koha/Schema/Result/Item.pm | 8 ++++---- Koha/Schema/Result/SavedSql.pm | 9 +++++---- 5 files changed, 21 insertions(+), 20 deletions(-) diff --git a/Koha/Schema/Result/Biblioitem.pm b/Koha/Schema/Result/Biblioitem.pm index dd38e4a6d7..25c25e8857 100644 --- a/Koha/Schema/Result/Biblioitem.pm +++ b/Koha/Schema/Result/Biblioitem.pm @@ -195,7 +195,7 @@ __PACKAGE__->table("biblioitems"); data_type: 'varchar' is_nullable: 1 - size: 30 + size: 255 =head2 agerestriction @@ -287,7 +287,7 @@ __PACKAGE__->add_columns( "cn_suffix", { data_type => "varchar", is_nullable => 1, size => 10 }, "cn_sort", - { data_type => "varchar", is_nullable => 1, size => 30 }, + { data_type => "varchar", is_nullable => 1, size => 255 }, "agerestriction", { data_type => "varchar", is_nullable => 1, size => 255 }, "totalissues", @@ -341,8 +341,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2014-05-05 17:59:34 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QE7ghWQ1JZw+IBDRwvgvSA +# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-10-24 09:58:16 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5gIBkvhOBzIK8vTrUe8MVw # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Deletedbiblioitem.pm b/Koha/Schema/Result/Deletedbiblioitem.pm index 0ea77e3f89..33472fa65f 100644 --- a/Koha/Schema/Result/Deletedbiblioitem.pm +++ b/Koha/Schema/Result/Deletedbiblioitem.pm @@ -194,7 +194,7 @@ __PACKAGE__->table("deletedbiblioitems"); data_type: 'varchar' is_nullable: 1 - size: 30 + size: 255 =head2 agerestriction @@ -281,7 +281,7 @@ __PACKAGE__->add_columns( "cn_suffix", { data_type => "varchar", is_nullable => 1, size => 10 }, "cn_sort", - { data_type => "varchar", is_nullable => 1, size => 30 }, + { data_type => "varchar", is_nullable => 1, size => 255 }, "agerestriction", { data_type => "varchar", is_nullable => 1, size => 255 }, "totalissues", @@ -303,8 +303,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("biblioitemnumber"); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2014-05-05 17:59:34 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:S84dl2XESjQXVLR8mnjwTw +# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-10-24 09:58:16 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ObIMBOrm2gbpPRMA0yRpLw # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Deleteditem.pm b/Koha/Schema/Result/Deleteditem.pm index 152d397498..f9155110da 100644 --- a/Koha/Schema/Result/Deleteditem.pm +++ b/Koha/Schema/Result/Deleteditem.pm @@ -218,7 +218,7 @@ __PACKAGE__->table("deleteditems"); data_type: 'varchar' is_nullable: 1 - size: 30 + size: 255 =head2 ccode @@ -348,7 +348,7 @@ __PACKAGE__->add_columns( "cn_source", { data_type => "varchar", is_nullable => 1, size => 10 }, "cn_sort", - { data_type => "varchar", is_nullable => 1, size => 30 }, + { data_type => "varchar", is_nullable => 1, size => 255 }, "ccode", { data_type => "varchar", is_nullable => 1, size => 10 }, "materials", @@ -380,8 +380,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("itemnumber"); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-12-23 16:39:42 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ji1W0q5g5xTw1J89cjVlWw +# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-10-24 09:58:16 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ru5DyaIlWJcMNAgpZRjOLg # You can replace this text with custom content, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Item.pm b/Koha/Schema/Result/Item.pm index 67e1d7c435..8ea22e36b5 100644 --- a/Koha/Schema/Result/Item.pm +++ b/Koha/Schema/Result/Item.pm @@ -221,7 +221,7 @@ __PACKAGE__->table("items"); data_type: 'varchar' is_nullable: 1 - size: 30 + size: 255 =head2 ccode @@ -356,7 +356,7 @@ __PACKAGE__->add_columns( "cn_source", { data_type => "varchar", is_nullable => 1, size => 10 }, "cn_sort", - { data_type => "varchar", is_nullable => 1, size => 30 }, + { data_type => "varchar", is_nullable => 1, size => 255 }, "ccode", { data_type => "varchar", is_nullable => 1, size => 10 }, "materials", @@ -609,8 +609,8 @@ __PACKAGE__->might_have( ); -# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Rc89LTrsDtt8Y6yXVUdhMA +# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-10-24 09:58:16 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2slVK/FjcRDiYLeufoOFQQ __PACKAGE__->belongs_to( "biblio", diff --git a/Koha/Schema/Result/SavedSql.pm b/Koha/Schema/Result/SavedSql.pm index d8780349fb..cb32ef0cb2 100644 --- a/Koha/Schema/Result/SavedSql.pm +++ b/Koha/Schema/Result/SavedSql.pm @@ -60,7 +60,8 @@ __PACKAGE__->table("saved_sql"); =head2 report_name data_type: 'varchar' - is_nullable: 1 + default_value: (empty string) + is_nullable: 0 size: 255 =head2 type @@ -132,7 +133,7 @@ __PACKAGE__->add_columns( is_nullable => 1, }, "report_name", - { data_type => "varchar", is_nullable => 1, size => 255 }, + { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, "type", { data_type => "varchar", is_nullable => 1, size => 255 }, "notes", @@ -162,8 +163,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:laD/JwzxzYnUhBABofprEA +# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-10-24 09:58:16 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eGWRRzpe1+EBialePAIhMQ # You can replace this text with custom content, and it will be preserved on regeneration -- 2.39.5