mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 18:17:29 -05:00
10 lines
234 B
Ruby
10 lines
234 B
Ruby
module Jobs
|
|
# various consistency checks
|
|
class EnsureDbConsistency < Jobs::Base
|
|
def execute(args)
|
|
TopicUser.ensure_consistency!
|
|
UserVisit.ensure_consistency!
|
|
Group.refresh_automatic_groups!
|
|
end
|
|
end
|
|
end
|