16 lines
213 B
Ruby
16 lines
213 B
Ruby
# 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
|