Bugzilla – Attachment 120102 Details for
Bug 19318
Add ability to use custom file upload paths
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19318: DO NOT PUSH - SCHEMA CHANGES
Bug-19318-DO-NOT-PUSH---SCHEMA-CHANGES.patch (text/plain), 2.01 KB, created by
Nick Clemens (kidclamp)
on 2021-04-23 13:40:34 UTC
(
hide
)
Description:
Bug 19318: DO NOT PUSH - SCHEMA CHANGES
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-04-23 13:40:34 UTC
Size:
2.01 KB
patch
obsolete
>From a837d88bf4732f023e3ec7e57946450aece73c4b Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 23 Apr 2021 13:40:07 +0000 >Subject: [PATCH] Bug 19318: DO NOT PUSH - SCHEMA CHANGES > >--- > Koha/Schema/Result/UploadedFile.pm | 19 ++++++++++--------- > 1 file changed, 10 insertions(+), 9 deletions(-) > >diff --git a/Koha/Schema/Result/UploadedFile.pm b/Koha/Schema/Result/UploadedFile.pm >index 5a4397db69..0b79f23624 100644 >--- a/Koha/Schema/Result/UploadedFile.pm >+++ b/Koha/Schema/Result/UploadedFile.pm >@@ -29,6 +29,12 @@ __PACKAGE__->table("uploaded_files"); > is_auto_increment: 1 > is_nullable: 0 > >+=head2 storage >+ >+ data_type: 'varchar' >+ is_nullable: 0 >+ size: 255 >+ > =head2 hashvalue > > data_type: 'char' >@@ -57,11 +63,6 @@ __PACKAGE__->table("uploaded_files"); > default_value: current_timestamp > is_nullable: 0 > >-=head2 uploadcategorycode >- >- data_type: 'text' >- is_nullable: 1 >- > =head2 owner > > data_type: 'integer' >@@ -82,6 +83,8 @@ __PACKAGE__->table("uploaded_files"); > __PACKAGE__->add_columns( > "id", > { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, >+ "storage", >+ { data_type => "varchar", is_nullable => 0, size => 255 }, > "hashvalue", > { data_type => "char", is_nullable => 0, size => 40 }, > "filename", >@@ -97,8 +100,6 @@ __PACKAGE__->add_columns( > default_value => \"current_timestamp", > is_nullable => 0, > }, >- "uploadcategorycode", >- { data_type => "text", is_nullable => 1 }, > "owner", > { data_type => "integer", is_nullable => 1 }, > "public", >@@ -120,8 +121,8 @@ __PACKAGE__->add_columns( > __PACKAGE__->set_primary_key("id"); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kJUbIULQMBo3t51HvWC8cg >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-04-23 13:11:12 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GfaniGpGJh0nlgZ7v/6WHQ > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >-- >2.11.0
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 19318
:
71017
|
78620
|
89219
|
118421
|
120101
|
120102
|
127584
|
127585
|
128844
|
128845
|
128846
|
128847
|
133772
|
133773
|
133774
|
133775