Bugzilla – Attachment 28681 Details for
Bug 12375
Store serials enumeration data in separate fields
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12375 [2] - Update Serial schema file
Bug-12375-2---Update-Serial-schema-file.patch (text/plain), 3.27 KB, created by
Kyle M Hall (khall)
on 2014-06-05 16:51:37 UTC
(
hide
)
Description:
Bug 12375 [2] - Update Serial schema file
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-06-05 16:51:37 UTC
Size:
3.27 KB
patch
obsolete
>From 2c3d69ec61a94864aa289d1c0e63dc31d4a9ac6b Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >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<serial> >+ >+=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</serialid> >- >-=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
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 12375
:
28675
|
28676
|
28677
|
28678
|
28679
|
28680
|
28681
|
28682
|
28683
|
28843
|
28844
|
28845
|
28846
|
29928
|
29929
|
30099
|
30100
|
30101
|
30102
|
30103
|
30104
|
30108
|
35155
|
35156
|
35157
|
35158
|
35159
|
35160
|
35161
|
40710
|
40711
|
40712
|
40713
|
40714
|
40715
|
40716
|
46122
|
46123
|
46124
|
46125
|
46126
|
46127
|
46128
|
46319