Lines 1-12
Link Here
|
1 |
use utf8; |
1 |
use utf8; |
2 |
package Koha::Schema::Result::SftpServer; |
2 |
package Koha::Schema::Result::FileTransport; |
3 |
|
3 |
|
4 |
# Created by DBIx::Class::Schema::Loader |
4 |
# Created by DBIx::Class::Schema::Loader |
5 |
# DO NOT MODIFY THE FIRST PART OF THIS FILE |
5 |
# DO NOT MODIFY THE FIRST PART OF THIS FILE |
6 |
|
6 |
|
7 |
=head1 NAME |
7 |
=head1 NAME |
8 |
|
8 |
|
9 |
Koha::Schema::Result::SftpServer |
9 |
Koha::Schema::Result::FileTransport |
10 |
|
10 |
|
11 |
=cut |
11 |
=cut |
12 |
|
12 |
|
Lines 15-25
use warnings;
Link Here
|
15 |
|
15 |
|
16 |
use base 'DBIx::Class::Core'; |
16 |
use base 'DBIx::Class::Core'; |
17 |
|
17 |
|
18 |
=head1 TABLE: C<sftp_servers> |
18 |
=head1 TABLE: C<file_transports> |
19 |
|
19 |
|
20 |
=cut |
20 |
=cut |
21 |
|
21 |
|
22 |
__PACKAGE__->table("sftp_servers"); |
22 |
__PACKAGE__->table("file_transports"); |
23 |
|
23 |
|
24 |
=head1 ACCESSORS |
24 |
=head1 ACCESSORS |
25 |
|
25 |
|
Lines 96-104
__PACKAGE__->table("sftp_servers");
Link Here
|
96 |
|
96 |
|
97 |
=head2 status |
97 |
=head2 status |
98 |
|
98 |
|
99 |
data_type: 'varchar' |
99 |
data_type: 'longtext' |
100 |
is_nullable: 1 |
100 |
is_nullable: 1 |
101 |
size: 32 |
|
|
102 |
|
101 |
|
103 |
=head2 debug |
102 |
=head2 debug |
104 |
|
103 |
|
Lines 149-155
__PACKAGE__->add_columns(
Link Here
|
149 |
"upload_directory", |
148 |
"upload_directory", |
150 |
{ data_type => "mediumtext", is_nullable => 1 }, |
149 |
{ data_type => "mediumtext", is_nullable => 1 }, |
151 |
"status", |
150 |
"status", |
152 |
{ data_type => "varchar", is_nullable => 1, size => 32 }, |
151 |
{ data_type => "longtext", is_nullable => 1 }, |
153 |
"debug", |
152 |
"debug", |
154 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
153 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
155 |
); |
154 |
); |
Lines 167-174
__PACKAGE__->add_columns(
Link Here
|
167 |
__PACKAGE__->set_primary_key("id"); |
166 |
__PACKAGE__->set_primary_key("id"); |
168 |
|
167 |
|
169 |
|
168 |
|
170 |
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-08-29 14:29:49 |
169 |
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-08-29 20:23:47 |
171 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Mr3SRG6aRllMJvaltvwgOw |
170 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eeoKreXE9wfz12s4ENo5Tg |
172 |
|
171 |
|
173 |
__PACKAGE__->add_columns( |
172 |
__PACKAGE__->add_columns( |
174 |
'+passive' => { is_boolean => 1 }, |
173 |
'+passive' => { is_boolean => 1 }, |
175 |
- |
|
|