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