Bugzilla – Attachment 42930 Details for
Bug 14368
Add discharges history
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14368: (RM followup) DBIx update
Bug-14368-RM-followup-DBIx-update.patch (text/plain), 1.69 KB, created by
Tomás Cohen Arazi (tcohen)
on 2015-09-28 15:10:50 UTC
(
hide
)
Description:
Bug 14368: (RM followup) DBIx update
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2015-09-28 15:10:50 UTC
Size:
1.69 KB
patch
obsolete
>From 6a5ca69bca091869773863b4436b78f3956589ec Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@unc.edu.ar> >Date: Mon, 28 Sep 2015 12:09:40 -0300 >Subject: [PATCH] Bug 14368: (RM followup) DBIx update > >Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar> >--- > Koha/Schema/Result/Discharge.pm | 24 ++++++++++++++++++++++-- > 1 file changed, 22 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/Discharge.pm b/Koha/Schema/Result/Discharge.pm >index 8f9c60c..2a68785 100644 >--- a/Koha/Schema/Result/Discharge.pm >+++ b/Koha/Schema/Result/Discharge.pm >@@ -23,6 +23,12 @@ __PACKAGE__->table("discharges"); > > =head1 ACCESSORS > >+=head2 discharge_id >+ >+ data_type: 'integer' >+ is_auto_increment: 1 >+ is_nullable: 0 >+ > =head2 borrower > > data_type: 'integer' >@@ -44,6 +50,8 @@ __PACKAGE__->table("discharges"); > =cut > > __PACKAGE__->add_columns( >+ "discharge_id", >+ { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, > "borrower", > { data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, > "needed", >@@ -60,6 +68,18 @@ __PACKAGE__->add_columns( > }, > ); > >+=head1 PRIMARY KEY >+ >+=over 4 >+ >+=item * L</discharge_id> >+ >+=back >+ >+=cut >+ >+__PACKAGE__->set_primary_key("discharge_id"); >+ > =head1 RELATIONS > > =head2 borrower >@@ -83,8 +103,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-01-08 18:15:13 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uq7Zb0SNf2mD3cpC4oub9A >+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-09-28 12:09:06 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Wc3EkS92v98jXtena5VaUQ > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >-- >2.5.3
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 14368
:
40079
|
40171
|
40508
|
40512
|
42593
|
42598
|
42640
|
42670
|
42671
|
42672
|
42673
|
42720
|
42723
| 42930