mirror of
https://github.com/postalserver/postal.git
synced 2026-10-18 18:26:06 +00:00
This removes all previous dependencies on RabbitMQ and the need to run separate cron and requeueing processes.
14 lines
251 B
Ruby
14 lines
251 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateScheduledTasks < ActiveRecord::Migration[6.1]
|
|
|
|
def change
|
|
create_table :scheduled_tasks do |t|
|
|
t.string :name
|
|
t.datetime :next_run_after
|
|
t.index :name, unique: true
|
|
end
|
|
end
|
|
|
|
end
|