rubocop: fix various style issues.
This commit is contained in:
@@ -5,7 +5,7 @@ class AddPixivIdToPosts < ActiveRecord::Migration[4.2]
|
||||
execute "drop index index_posts_on_pixiv_id"
|
||||
execute "create index index_posts_on_pixiv_id on posts (pixiv_id) where pixiv_id is not null"
|
||||
end
|
||||
|
||||
|
||||
def down
|
||||
execute "set statement_timeout = 0"
|
||||
remove_column :posts, :pixiv_id
|
||||
|
||||
Reference in New Issue
Block a user