Bugzilla – Attachment 180016 Details for
Bug 39190
Rework new (S)FTP classes to be polymorphic classes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39190: DBIC Update
Bug-39190-DBIC-Update.patch (text/plain), 4.24 KB, created by
Martin Renvoize (ashimema)
on 2025-03-31 12:27:23 UTC
(
hide
)
Description:
Bug 39190: DBIC Update
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-03-31 12:27:23 UTC
Size:
4.24 KB
patch
obsolete
>From 7a043371ce69917b277a9e901d811cecbcd79345 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Sat, 25 Jan 2025 11:29:20 +0000 >Subject: [PATCH] Bug 39190: DBIC Update > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > Koha/Schema/Result/SftpServer.pm | 97 ++++++++++++++++---------------- > 1 file changed, 48 insertions(+), 49 deletions(-) > >diff --git a/Koha/Schema/Result/SftpServer.pm b/Koha/Schema/Result/SftpServer.pm >index 02d09609ac3..d4ff738d52b 100644 >--- a/Koha/Schema/Result/SftpServer.pm >+++ b/Koha/Schema/Result/SftpServer.pm >@@ -1,5 +1,4 @@ > use utf8; >- > package Koha::Schema::Result::SftpServer; > > # Created by DBIx::Class::Schema::Loader >@@ -56,7 +55,7 @@ __PACKAGE__->table("sftp_servers"); > extra: {list => ["ftp","sftp"]} > is_nullable: 0 > >-=head2 passiv >+=head2 passive > > data_type: 'tinyint' > default_value: 1 >@@ -97,9 +96,8 @@ __PACKAGE__->table("sftp_servers"); > > =head2 status > >- data_type: 'varchar' >+ data_type: 'longtext' > is_nullable: 1 >- size: 32 > > =head2 debug > >@@ -110,49 +108,49 @@ __PACKAGE__->table("sftp_servers"); > =cut > > __PACKAGE__->add_columns( >- "id", >- { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, >- "name", >- { data_type => "varchar", is_nullable => 0, size => 80 }, >- "host", >- { >- data_type => "varchar", >- default_value => "localhost", >- is_nullable => 0, >- size => 80, >- }, >- "port", >- { data_type => "integer", default_value => 22, is_nullable => 0 }, >- "transport", >- { >- data_type => "enum", >- default_value => "sftp", >- extra => { list => [ "ftp", "sftp" ] }, >- is_nullable => 0, >- }, >- "passiv", >- { data_type => "tinyint", default_value => 1, is_nullable => 0 }, >- "user_name", >- { data_type => "varchar", is_nullable => 1, size => 80 }, >- "password", >- { data_type => "mediumtext", is_nullable => 1 }, >- "key_file", >- { data_type => "mediumtext", is_nullable => 1 }, >- "auth_mode", >- { >- data_type => "enum", >- default_value => "password", >- extra => { list => [ "password", "key_file", "noauth" ] }, >- is_nullable => 0, >- }, >- "download_directory", >- { data_type => "mediumtext", is_nullable => 1 }, >- "upload_directory", >- { data_type => "mediumtext", is_nullable => 1 }, >- "status", >- { data_type => "varchar", is_nullable => 1, size => 32 }, >- "debug", >- { data_type => "tinyint", default_value => 0, is_nullable => 0 }, >+ "id", >+ { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, >+ "name", >+ { data_type => "varchar", is_nullable => 0, size => 80 }, >+ "host", >+ { >+ data_type => "varchar", >+ default_value => "localhost", >+ is_nullable => 0, >+ size => 80, >+ }, >+ "port", >+ { data_type => "integer", default_value => 22, is_nullable => 0 }, >+ "transport", >+ { >+ data_type => "enum", >+ default_value => "sftp", >+ extra => { list => ["ftp", "sftp"] }, >+ is_nullable => 0, >+ }, >+ "passive", >+ { data_type => "tinyint", default_value => 1, is_nullable => 0 }, >+ "user_name", >+ { data_type => "varchar", is_nullable => 1, size => 80 }, >+ "password", >+ { data_type => "mediumtext", is_nullable => 1 }, >+ "key_file", >+ { data_type => "mediumtext", is_nullable => 1 }, >+ "auth_mode", >+ { >+ data_type => "enum", >+ default_value => "password", >+ extra => { list => ["password", "key_file", "noauth"] }, >+ is_nullable => 0, >+ }, >+ "download_directory", >+ { data_type => "mediumtext", is_nullable => 1 }, >+ "upload_directory", >+ { data_type => "mediumtext", is_nullable => 1 }, >+ "status", >+ { data_type => "longtext", is_nullable => 1 }, >+ "debug", >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > ); > > =head1 PRIMARY KEY >@@ -167,8 +165,9 @@ __PACKAGE__->add_columns( > > __PACKAGE__->set_primary_key("id"); > >-# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-12-17 10:30:17 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Dnz0prvPxRoopZCdRaUtnA >+ >+# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-02-14 14:24:27 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XRl+5L8ZfcwGfIKPxcWWzg > > __PACKAGE__->add_columns( > '+passive' => { is_boolean => 1 }, >-- >2.49.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 39190
:
178555
|
178556
|
178557
|
178558
|
178559
|
178560
|
178561
|
178562
|
178563
|
178564
|
178565
|
178566
|
178567
|
178568
|
178569
|
178570
|
178571
|
179252
|
179253
|
179254
|
179255
|
179256
|
179257
|
179258
|
179259
|
179260
|
179261
|
179262
|
179263
|
179264
|
179265
|
179266
|
179267
|
179268
|
179396
|
179397
|
179398
|
179399
|
179400
|
179401
|
179402
|
179403
|
179404
|
179405
|
179406
|
179407
|
179408
|
179409
|
179410
|
179411
|
179412
|
179413
|
179589
|
179590
|
179591
|
179592
|
179593
|
179594
|
179595
|
179596
|
179597
|
179598
|
179599
|
179600
|
179601
|
179602
|
179603
|
179604
|
179605
|
179606
|
179646
|
179647
|
179648
|
179649
|
179650
|
179651
|
179652
|
179653
|
179654
|
179655
|
179656
|
179657
|
179658
|
179659
|
179660
|
179661
|
179662
|
179663
|
179992
|
179993
|
179994
|
179995
|
179996
|
179997
|
179998
|
179999
|
180000
|
180001
|
180002
|
180003
|
180004
|
180005
|
180006
|
180010
|
180011
|
180012
|
180013
|
180014
|
180015
| 180016 |
180017
|
180018
|
180019
|
180020
|
180021
|
180022
|
180023
|
180024
|
180025