Add job to clean dead links

This commit is contained in:
2023-05-08 21:57:32 +10:00
parent 96c23eafa6
commit ebdf051b82
9 changed files with 92 additions and 0 deletions

View 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