Bugzilla – Attachment 42889 Details for
Bug 14321
Merge UploadedFile and UploadedFiles into Koha::Upload
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14321: (RM followup) DBIx update
Bug-14321-RM-followup-DBIx-update.patch (text/plain), 1.92 KB, created by
Tomás Cohen Arazi (tcohen)
on 2015-09-25 18:35:18 UTC
(
hide
)
Description:
Bug 14321: (RM followup) DBIx update
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2015-09-25 18:35:18 UTC
Size:
1.92 KB
patch
obsolete
>From 29216e030f1c2b56d9548dc145e502c9e7d68f36 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 25 Sep 2015 15:22:07 -0300 >Subject: [PATCH] Bug 14321: (RM followup) DBIx update > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/Schema/Result/UploadedFile.pm | 22 ++++++++++++++++++---- > 1 file changed, 18 insertions(+), 4 deletions(-) > >diff --git a/Koha/Schema/Result/UploadedFile.pm b/Koha/Schema/Result/UploadedFile.pm >index c0f82a1..1eaab71 100644 >--- a/Koha/Schema/Result/UploadedFile.pm >+++ b/Koha/Schema/Result/UploadedFile.pm >@@ -57,7 +57,7 @@ __PACKAGE__->table("uploaded_files"); > default_value: current_timestamp > is_nullable: 0 > >-=head2 categorycode >+=head2 uploadcategorycode > > data_type: 'tinytext' > is_nullable: 1 >@@ -67,6 +67,16 @@ __PACKAGE__->table("uploaded_files"); > data_type: 'integer' > is_nullable: 1 > >+=head2 public >+ >+ data_type: 'tinyint' >+ is_nullable: 1 >+ >+=head2 permanent >+ >+ data_type: 'tinyint' >+ is_nullable: 1 >+ > =cut > > __PACKAGE__->add_columns( >@@ -87,10 +97,14 @@ __PACKAGE__->add_columns( > default_value => \"current_timestamp", > is_nullable => 0, > }, >- "categorycode", >+ "uploadcategorycode", > { data_type => "tinytext", is_nullable => 1 }, > "owner", > { data_type => "integer", is_nullable => 1 }, >+ "public", >+ { data_type => "tinyint", is_nullable => 1 }, >+ "permanent", >+ { data_type => "tinyint", is_nullable => 1 }, > ); > > =head1 PRIMARY KEY >@@ -106,8 +120,8 @@ __PACKAGE__->add_columns( > __PACKAGE__->set_primary_key("id"); > > >-# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-08-07 16:06:37 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ox6orH0SkhCfPdjX24fnZw >+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-09-25 15:20:07 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Cq/HSuTaBxZH2qSGEddoaQ > > > # 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 14321
:
41498
|
41499
|
41500
|
41501
|
41555
|
41556
|
41557
|
41558
|
41559
|
41560
|
41561
|
41562
|
41665
|
41666
|
41667
|
41668
|
41669
|
41677
|
41873
|
41874
|
41875
|
41876
|
41877
|
41878
|
41879
|
41880
|
41881
|
42411
|
42412
|
42413
|
42414
|
42558
|
42559
|
42560
|
42561
|
42584
|
42587
|
42588
|
42589
|
42590
|
42591
|
42660
|
42661
|
42662
|
42663
|
42664
|
42665
|
42666
|
42707
|
42726
|
42727
|
42728
|
42729
|
42730
|
42731
|
42732
| 42889 |
42890