Bugzilla – Attachment 77232 Details for
Bug 20772
Make request metadata editable and add price_paid field
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20772: DO NOT PUSH - Schema update
0003-Bug-20772-DO-NOT-PUSH-Schema-update.patch (text/plain), 2.78 KB, created by
Barry Cannon
on 2018-07-24 15:21:28 UTC
(
hide
)
Description:
Bug 20772: DO NOT PUSH - Schema update
Filename:
MIME Type:
Creator:
Barry Cannon
Created:
2018-07-24 15:21:28 UTC
Size:
2.78 KB
patch
obsolete
>From 89371a838b0863e1e4a18442dbe7ee2a7206b0b3 Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >Date: Thu, 17 May 2018 09:24:31 +0100 >Subject: [PATCH 3/8] Bug 20772: DO NOT PUSH - Schema update > >Schema update for illrequestattributes.readonly >Schema update for illrequests.price_paid > >Signed-off-by: Barry Cannon <bc@interleaf.ie> >--- > Koha/Schema/Result/Illrequest.pm | 12 ++++++++++-- > Koha/Schema/Result/Illrequestattribute.pm | 12 ++++++++++-- > 2 files changed, 20 insertions(+), 4 deletions(-) > >diff --git a/Koha/Schema/Result/Illrequest.pm b/Koha/Schema/Result/Illrequest.pm >index 1b207ff..be40e6e 100644 >--- a/Koha/Schema/Result/Illrequest.pm >+++ b/Koha/Schema/Result/Illrequest.pm >@@ -119,6 +119,12 @@ __PACKAGE__->table("illrequests"); > is_nullable: 1 > size: 20 > >+=head2 price_paid >+ >+ data_type: 'varchar' >+ is_nullable: 1 >+ size: 20 >+ > =cut > > __PACKAGE__->add_columns( >@@ -164,6 +170,8 @@ __PACKAGE__->add_columns( > { data_type => "varchar", is_nullable => 1, size => 50 }, > "backend", > { data_type => "varchar", is_nullable => 1, size => 20 }, >+ "price_paid", >+ { data_type => "varchar", is_nullable => 1, size => 20 }, > ); > > =head1 PRIMARY KEY >@@ -231,8 +239,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Rh8DSs3xj3KRmyd7WNGDAg >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-05-17 10:53:41 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lro5b6igadOasjToe90DIg > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/Illrequestattribute.pm b/Koha/Schema/Result/Illrequestattribute.pm >index cb9cb18..b89de5b 100644 >--- a/Koha/Schema/Result/Illrequestattribute.pm >+++ b/Koha/Schema/Result/Illrequestattribute.pm >@@ -41,6 +41,12 @@ __PACKAGE__->table("illrequestattributes"); > data_type: 'mediumtext' > is_nullable: 0 > >+=head2 readonly >+ >+ data_type: 'tinyint' >+ default_value: 1 >+ is_nullable: 0 >+ > =cut > > __PACKAGE__->add_columns( >@@ -55,6 +61,8 @@ __PACKAGE__->add_columns( > { data_type => "varchar", is_nullable => 0, size => 200 }, > "value", > { data_type => "mediumtext", is_nullable => 0 }, >+ "readonly", >+ { data_type => "tinyint", default_value => 1, is_nullable => 0 }, > ); > > =head1 PRIMARY KEY >@@ -89,8 +97,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:X9SxZP1PGXTwDJ6lUkx8Fg >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-05-17 09:17:53 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sFY1giVMz5AkXCPidhyGjw > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >-- >2.1.4 >
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 20772
:
75491
|
75492
|
75493
|
75494
|
75495
|
75496
|
75497
|
75563
|
77230
|
77231
|
77232
|
77233
|
77234
|
77235
|
77236
|
77237
|
80010
|
80011
|
80012
|
80013
|
80014
|
80015
|
80016
|
80017
|
80027
|
80028
|
80029
|
80030
|
80031
|
80032
|
80033
|
80034
|
80035
|
80036
|
80037
|
80039
|
80041
|
80042
|
80043
|
80044
|
80045
|
80046
|
80051
|
80232
|
80566
|
80567
|
80568
|
80569
|
80570
|
80571
|
80572
|
80573
|
80574
|
80575
|
80576
|
80577