mirror of
https://github.com/discourse/discourse.git
synced 2025-02-23 19:16:24 +08:00

fix up post mover so it remaps user actions as well move specs for post mover into post_mover_spec
13 lines
310 B
Ruby
13 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
|