Skip to content

Conversation

@Fryguy
Copy link
Member

@Fryguy Fryguy commented Nov 5, 2025

@Fryguy
Copy link
Member Author

Fryguy commented Nov 5, 2025

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
Copy link
Member

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. 👍

Comment on lines 18 to 19
t.datetime :created_on
t.datetime :updated_on
Copy link
Member Author

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

Copy link
Member Author

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.

@Fryguy Fryguy force-pushed the drop_log_collection branch from e9f02c0 to 636b547 Compare November 5, 2025 16:09
Copy link
Member

@jrafanie jrafanie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jrafanie jrafanie merged commit b6354e0 into ManageIQ:master Nov 5, 2025
5 checks passed
@Fryguy Fryguy deleted the drop_log_collection branch November 5, 2025 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants