-
Notifications
You must be signed in to change notification settings - Fork 126
Drop log collection tables, columns, and configuration #820
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
Conversation
|
There might be more to delete after ManageIQ/manageiq#23649 |
| end | ||
|
|
||
| say_with_time("Removing log collection settings") do | ||
| SettingsChange.in_my_region.where("key LIKE ?", "/log/collection%").delete_all |
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.
wow, this is so clean... I thought it would be more to do but I think you're right, this is it. 👍
| t.datetime :created_on | ||
| t.datetime :updated_on |
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.
Just want to check this - think I need it to be slightly different
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.
Ok, this is good now - I ran a db:migrate right before this one, and then copied the log_files definition from db/schema.rb. This is more accurate now.
e9f02c0 to
636b547
Compare
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
@jrafanie Please review.
Depends on