summaryrefslogtreecommitdiffstats
path: root/db/migrate/20170105224407_add_shortcode_to_media_attachments.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20170105224407_add_shortcode_to_media_attachments.rb')
-rw-r--r--db/migrate/20170105224407_add_shortcode_to_media_attachments.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20170105224407_add_shortcode_to_media_attachments.rb b/db/migrate/20170105224407_add_shortcode_to_media_attachments.rb
index 2685ae150ec..fba46a4b63b 100644
--- a/db/migrate/20170105224407_add_shortcode_to_media_attachments.rb
+++ b/db/migrate/20170105224407_add_shortcode_to_media_attachments.rb
@@ -8,7 +8,7 @@ class AddShortcodeToMediaAttachments < ActiveRecord::Migration[5.0]
end
def down
- remove_index :media_attachments, :shortcode
- remove_column :media_attachments, :shortcode
+ remove_index :media_attachments, :shortcode
+ remove_column :media_attachments, :shortcode
end
end