diff options
Diffstat (limited to 'db/migrate/20180503131624_create_remote_mirrors.rb')
-rw-r--r-- | db/migrate/20180503131624_create_remote_mirrors.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/db/migrate/20180503131624_create_remote_mirrors.rb b/db/migrate/20180503131624_create_remote_mirrors.rb index 80090c14314..330a0d8f62d 100644 --- a/db/migrate/20180503131624_create_remote_mirrors.rb +++ b/db/migrate/20180503131624_create_remote_mirrors.rb @@ -5,7 +5,7 @@ class CreateRemoteMirrors < ActiveRecord::Migration[4.2] disable_ddl_transaction! - # rubocop:disable Migration/AddLimitToStringColumns + # rubocop:disable Migration/PreventStrings def up return if table_exists?(:remote_mirrors) @@ -20,7 +20,7 @@ class CreateRemoteMirrors < ActiveRecord::Migration[4.2] t.string :last_error t.boolean :only_protected_branches, default: false, null: false t.string :remote_name - t.text :encrypted_credentials + t.text :encrypted_credentials # rubocop:disable Migration/AddLimitToTextColumns t.string :encrypted_credentials_iv t.string :encrypted_credentials_salt @@ -28,7 +28,7 @@ class CreateRemoteMirrors < ActiveRecord::Migration[4.2] t.timestamps null: false end end - # rubocop:enable Migration/AddLimitToStringColumns + # rubocop:enable Migration/PreventStrings def down # ee/db/migrate/20160321161032_create_remote_mirrors_ee.rb will remove the table |