From c4d3207cced1009cd0d0d27b2f5d56c1bdeb49ab Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 5 Jun 2014 10:53:13 -0400 Subject: [PATCH] Bug 12375 [2] - Update Serial schema file --- Koha/Schema/Result/Serial.pm | 60 +++++++++++++++++++++++------------------- 1 files changed, 33 insertions(+), 27 deletions(-) diff --git a/Koha/Schema/Result/Serial.pm b/Koha/Schema/Result/Serial.pm index c3f711e..cf00f28 100644 --- a/Koha/Schema/Result/Serial.pm +++ b/Koha/Schema/Result/Serial.pm @@ -1,21 +1,17 @@ -use utf8; package Koha::Schema::Result::Serial; # Created by DBIx::Class::Schema::Loader # DO NOT MODIFY THE FIRST PART OF THIS FILE -=head1 NAME - -Koha::Schema::Result::Serial - -=cut - use strict; use warnings; use base 'DBIx::Class::Core'; -=head1 TABLE: C + +=head1 NAME + +Koha::Schema::Result::Serial =cut @@ -50,6 +46,24 @@ __PACKAGE__->table("serial"); is_nullable: 0 size: 100 +=head2 serialseq_x + + data_type: 'varchar' + is_nullable: 1 + size: 100 + +=head2 serialseq_y + + data_type: 'varchar' + is_nullable: 1 + size: 100 + +=head2 serialseq_z + + data_type: 'varchar' + is_nullable: 1 + size: 100 + =head2 status data_type: 'tinyint' @@ -59,7 +73,6 @@ __PACKAGE__->table("serial"); =head2 planneddate data_type: 'date' - datetime_undef_if_invalid: 1 is_nullable: 1 =head2 notes @@ -70,13 +83,11 @@ __PACKAGE__->table("serial"); =head2 publisheddate data_type: 'date' - datetime_undef_if_invalid: 1 is_nullable: 1 =head2 claimdate data_type: 'date' - datetime_undef_if_invalid: 1 is_nullable: 1 =head2 routingnotes @@ -95,30 +106,25 @@ __PACKAGE__->add_columns( { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 }, "serialseq", { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 }, + "serialseq_x", + { data_type => "varchar", is_nullable => 1, size => 100 }, + "serialseq_y", + { data_type => "varchar", is_nullable => 1, size => 100 }, + "serialseq_z", + { data_type => "varchar", is_nullable => 1, size => 100 }, "status", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "planneddate", - { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, + { data_type => "date", is_nullable => 1 }, "notes", { data_type => "text", is_nullable => 1 }, "publisheddate", - { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, + { data_type => "date", is_nullable => 1 }, "claimdate", - { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, + { data_type => "date", is_nullable => 1 }, "routingnotes", { data_type => "text", is_nullable => 1 }, ); - -=head1 PRIMARY KEY - -=over 4 - -=item * L - -=back - -=cut - __PACKAGE__->set_primary_key("serialid"); =head1 RELATIONS @@ -139,8 +145,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xloe1BJrVD7sU07AnA4P2g +# Created by DBIx::Class::Schema::Loader v0.07000 @ 2014-06-05 12:17:52 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BJQdPIAHUMaZ1PH4M2FEFw # You can replace this text with custom content, and it will be preserved on regeneration -- 1.7.2.5