FIX: Don't drop the columns immediately.

This commit is contained in:
Guo Xiang Tan 2016-12-13 08:06:53 +08:00
parent 4faec8af96
commit 98fd77fb6c

View File

@ -14,8 +14,5 @@ class AddUploadsToCategories < ActiveRecord::Migration
category.save!
end
end
remove_column :categories, :logo_url, :string
remove_column :categories, :background_url, :string
end
end