mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
81616a46ba
fix up post mover so it remaps user actions as well move specs for post mover into post_mover_spec
12 lines
310 B
Ruby
12 lines
310 B
Ruby
module Jobs
|
|
# various consistency checks
|
|
class EnsureDbConsistency < Jobs::Base
|
|
def execute(args)
|
|
TopicUser.ensure_consistency!
|
|
UserVisit.ensure_consistency!
|
|
Group.refresh_automatic_groups!
|
|
Notification.ensure_consistency!
|
|
UserAction.ensure_consistency!
|
|
end
|
|
end
|
|
end
|