mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-19 23:32:53 +00:00
Move specific matcher for data migration jobs list
This commit is contained in:
parent
76c1cdfa0d
commit
5ee22ae985
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class User < ApplicationRecord
|
|||
|
||||
def data_migration_jobs
|
||||
GoodJob::Job.where(
|
||||
"serialized_params->>'arguments' LIKE ?", "%#{id}%"
|
||||
"serialized_params->>'arguments' = ?", [ id ].to_json
|
||||
).where(
|
||||
"job_class = ?", "OneTime::MigrateUserFromHackatimeJob"
|
||||
).order(created_at: :desc).limit(10).all
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue