diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-07-25 11:59:23 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-07-25 12:47:12 +0300 |
commit | b95da565cd91fff0729fb4bf6632fb6224de8843 (patch) | |
tree | bc2fb2fe99f42b2aae6ff9ed6557366c7959d7b4 /db/migrate/20180529093006_ensure_remote_mirror_columns.rb | |
parent | 068768e1f8b64f7de4fe18b094e7f2e7555c9398 (diff) |
Enable rubocop for db/**/* and ee/db/**/*
Diffstat (limited to 'db/migrate/20180529093006_ensure_remote_mirror_columns.rb')
-rw-r--r-- | db/migrate/20180529093006_ensure_remote_mirror_columns.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20180529093006_ensure_remote_mirror_columns.rb b/db/migrate/20180529093006_ensure_remote_mirror_columns.rb index 290416cb61c..22e9482cb1d 100644 --- a/db/migrate/20180529093006_ensure_remote_mirror_columns.rb +++ b/db/migrate/20180529093006_ensure_remote_mirror_columns.rb @@ -6,6 +6,7 @@ class EnsureRemoteMirrorColumns < ActiveRecord::Migration disable_ddl_transaction! def up + # rubocop:disable Migration/Datetime add_column :remote_mirrors, :last_update_started_at, :datetime unless column_exists?(:remote_mirrors, :last_update_started_at) add_column :remote_mirrors, :remote_name, :string unless column_exists?(:remote_mirrors, :remote_name) |