-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove RSS table #343
Remove RSS table #343
Conversation
d787fbd
to
3e52a62
Compare
@@ -0,0 +1,5 @@ | |||
class RemoveRssFeeds < ActiveRecord::Migration[5.0] | |||
def change | |||
drop_table :rss_feeds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The cop is complaining because this isn't reversible? If we don't want to put the table in the down migration, maybe we should write an up
without a down
.... but why not just recreate it as it is now in the down
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reverse is required.
3e52a62
to
1323511
Compare
1323511
to
4b4e72a
Compare
Checked commit juliancheal@4b4e72a with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 db/migrate/20190301174502_remove_rss_feeds.rb
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, please merge @Fryguy if good for you
Presumably we can ignore this cop? |
Follow on from ManageIQ/manageiq#18478