Add job to clean dead links
This commit is contained in:
15
db/migrate/20230508101336_add_que.rb
Normal file
15
db/migrate/20230508101336_add_que.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "que"
|
||||
|
||||
ROM::SQL.migration do
|
||||
up do
|
||||
Que.connection = self
|
||||
Que.migrate!(version: 7)
|
||||
end
|
||||
|
||||
down do
|
||||
Que.connection = self
|
||||
Que.migrate!(version: 0)
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user