diff options
author | aus-social <42644106+aus-social@users.noreply.github.com> | 2018-10-05 01:38:04 +1000 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-10-04 17:38:04 +0200 |
commit | 0a4739c7324a96cee148373ccc7b57b9c7097b42 (patch) | |
tree | 8c6681e31fdab9b090c7a33105171460e31d5217 /db | |
parent | a46ab86adfc9e4ea182af9a555237f17071e194c (diff) |
lint pass 2 (#8878)
* Code quality pass * Typofix * Update applications_controller_spec.rb * Update applications_controller_spec.rb
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20160314164231_add_owner_to_application.rb | 2 | ||||
-rw-r--r-- | db/migrate/20170105224407_add_shortcode_to_media_attachments.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/db/migrate/20160314164231_add_owner_to_application.rb b/db/migrate/20160314164231_add_owner_to_application.rb index 1919f09a1..553c18b5e 100644 --- a/db/migrate/20160314164231_add_owner_to_application.rb +++ b/db/migrate/20160314164231_add_owner_to_application.rb @@ -4,4 +4,4 @@ class AddOwnerToApplication < ActiveRecord::Migration[4.2] add_column :oauth_applications, :owner_type, :string, null: true add_index :oauth_applications, [:owner_id, :owner_type] end -end \ No newline at end of file +end diff --git a/db/migrate/20170105224407_add_shortcode_to_media_attachments.rb b/db/migrate/20170105224407_add_shortcode_to_media_attachments.rb index 2685ae150..fba46a4b6 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 |