| Lines 1-5
          
      
      
        Link Here | 
        
          | 1 | use utf8; | 1 | use utf8; | 
            
              | 2 |  |  |  | 
        
          | 3 | package Koha::Schema::Result::SftpServer; | 2 | package Koha::Schema::Result::SftpServer; | 
        
          | 4 |  | 3 |  | 
        
          | 5 | # Created by DBIx::Class::Schema::Loader | 4 | # Created by DBIx::Class::Schema::Loader | 
  
    | Lines 56-62
          __PACKAGE__->table("sftp_servers");
      
      
        Link Here | 
        
          | 56 |   extra: {list => ["ftp","sftp"]} | 55 |   extra: {list => ["ftp","sftp"]} | 
        
          | 57 |   is_nullable: 0 | 56 |   is_nullable: 0 | 
        
          | 58 |  | 57 |  | 
          
            
              | 59 | =head2 passiv | 58 | =head2 passive | 
        
          | 60 |  | 59 |  | 
        
          | 61 |   data_type: 'tinyint' | 60 |   data_type: 'tinyint' | 
        
          | 62 |   default_value: 1 | 61 |   default_value: 1 | 
  
    | Lines 97-105
          __PACKAGE__->table("sftp_servers");
      
      
        Link Here | 
        
          | 97 |  | 96 |  | 
        
          | 98 | =head2 status | 97 | =head2 status | 
        
          | 99 |  | 98 |  | 
          
            
              | 100 |   data_type: 'varchar' | 99 |   data_type: 'longtext' | 
        
          | 101 |   is_nullable: 1 | 100 |   is_nullable: 1 | 
            
              | 102 |   size: 32 |  |  | 
        
          | 103 |  | 101 |  | 
        
          | 104 | =head2 debug | 102 | =head2 debug | 
        
          | 105 |  | 103 |  | 
  
    | Lines 110-158
          __PACKAGE__->table("sftp_servers");
      
      
        Link Here | 
        
          | 110 | =cut | 108 | =cut | 
        
          | 111 |  | 109 |  | 
        
          | 112 | __PACKAGE__->add_columns( | 110 | __PACKAGE__->add_columns( | 
          
            
              | 113 |     "id", | 111 |   "id", | 
            
              | 114 |     { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | 112 |   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | 
            
              | 115 |     "name", | 113 |   "name", | 
            
              | 116 |     { data_type => "varchar", is_nullable => 0, size => 80 }, | 114 |   { data_type => "varchar", is_nullable => 0, size => 80 }, | 
            
              | 117 |     "host", | 115 |   "host", | 
            
              | 118 |     { | 116 |   { | 
            
              | 119 |         data_type     => "varchar", | 117 |     data_type => "varchar", | 
            
              | 120 |         default_value => "localhost", | 118 |     default_value => "localhost", | 
            
              | 121 |         is_nullable   => 0, | 119 |     is_nullable => 0, | 
            
              | 122 |         size          => 80, | 120 |     size => 80, | 
            
              | 123 |     }, | 121 |   }, | 
            
              | 124 |     "port", | 122 |   "port", | 
            
              | 125 |     { data_type => "integer", default_value => 22, is_nullable => 0 }, | 123 |   { data_type => "integer", default_value => 22, is_nullable => 0 }, | 
            
              | 126 |     "transport", | 124 |   "transport", | 
            
              | 127 |     { | 125 |   { | 
            
              | 128 |         data_type     => "enum", | 126 |     data_type => "enum", | 
            
              | 129 |         default_value => "sftp", | 127 |     default_value => "sftp", | 
            
              | 130 |         extra         => { list => [ "ftp", "sftp" ] }, | 128 |     extra => { list => ["ftp", "sftp"] }, | 
            
              | 131 |         is_nullable   => 0, | 129 |     is_nullable => 0, | 
            
              | 132 |     }, | 130 |   }, | 
            
              | 133 |     "passiv", | 131 |   "passive", | 
            
              | 134 |     { data_type => "tinyint", default_value => 1, is_nullable => 0 }, | 132 |   { data_type => "tinyint", default_value => 1, is_nullable => 0 }, | 
            
              | 135 |     "user_name", | 133 |   "user_name", | 
            
              | 136 |     { data_type => "varchar", is_nullable => 1, size => 80 }, | 134 |   { data_type => "varchar", is_nullable => 1, size => 80 }, | 
            
              | 137 |     "password", | 135 |   "password", | 
            
              | 138 |     { data_type => "mediumtext", is_nullable => 1 }, | 136 |   { data_type => "mediumtext", is_nullable => 1 }, | 
            
              | 139 |     "key_file", | 137 |   "key_file", | 
            
              | 140 |     { data_type => "mediumtext", is_nullable => 1 }, | 138 |   { data_type => "mediumtext", is_nullable => 1 }, | 
            
              | 141 |     "auth_mode", | 139 |   "auth_mode", | 
            
              | 142 |     { | 140 |   { | 
            
              | 143 |         data_type     => "enum", | 141 |     data_type => "enum", | 
            
              | 144 |         default_value => "password", | 142 |     default_value => "password", | 
            
              | 145 |         extra         => { list => [ "password", "key_file", "noauth" ] }, | 143 |     extra => { list => ["password", "key_file", "noauth"] }, | 
            
              | 146 |         is_nullable   => 0, | 144 |     is_nullable => 0, | 
            
              | 147 |     }, | 145 |   }, | 
            
              | 148 |     "download_directory", | 146 |   "download_directory", | 
            
              | 149 |     { data_type => "mediumtext", is_nullable => 1 }, | 147 |   { data_type => "mediumtext", is_nullable => 1 }, | 
            
              | 150 |     "upload_directory", | 148 |   "upload_directory", | 
            
              | 151 |     { data_type => "mediumtext", is_nullable => 1 }, | 149 |   { data_type => "mediumtext", is_nullable => 1 }, | 
            
              | 152 |     "status", | 150 |   "status", | 
            
              | 153 |     { data_type => "varchar", is_nullable => 1, size => 32 }, | 151 |   { data_type => "longtext", is_nullable => 1 }, | 
            
              | 154 |     "debug", | 152 |   "debug", | 
            
              | 155 |     { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | 153 |   { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | 
        
          | 156 | ); | 154 | ); | 
        
          | 157 |  | 155 |  | 
        
          | 158 | =head1 PRIMARY KEY | 156 | =head1 PRIMARY KEY | 
  
    | Lines 167-174
          __PACKAGE__->add_columns(
      
      
        Link Here | 
        
          | 167 |  | 165 |  | 
        
          | 168 | __PACKAGE__->set_primary_key("id"); | 166 | __PACKAGE__->set_primary_key("id"); | 
        
          | 169 |  | 167 |  | 
          
            
              | 170 | # Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-12-17 10:30:17 | 168 |  | 
            
              | 171 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Dnz0prvPxRoopZCdRaUtnA | 169 | # Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-02-14 14:24:27 | 
            
              |  |  | 170 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XRl+5L8ZfcwGfIKPxcWWzg | 
        
          | 172 |  | 171 |  | 
        
          | 173 | __PACKAGE__->add_columns( | 172 | __PACKAGE__->add_columns( | 
        
          | 174 |     '+passive' => { is_boolean => 1 }, | 173 |     '+passive' => { is_boolean => 1 }, | 
            
              | 175 | -  |  |  |