Cross Reference: data_migration_worker.rb
xref
: /
ontohub
/
lib
/
data_migration_worker.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
class
DataMigrationWorker
<
BaseWorker
sidekiq_options
queue
:
'default'
def
perform
Subprocess.run
(
'bundle'
,
'exec'
,
'rake'
,
'data:migrate'
,
'RAILS_ENV'
=>
Rails.env
)
end
end