budget/db/migrate/20240817015831_create_recurring_tasks.solid_queue.rb

22 lines
560 B
Ruby
Raw Normal View History

2024-08-16 22:00:54 -04:00
# This migration comes from solid_queue (originally 20240719134516)
class CreateRecurringTasks < ActiveRecord::Migration[7.1]
def change
create_table :solid_queue_recurring_tasks do |t|
t.string :key, null: false, index: { unique: true }
t.string :schedule, null: false
t.string :command, limit: 2048
t.string :class_name
t.text :arguments
t.string :queue_name
t.integer :priority, default: 0
t.boolean :static, default: true, index: true
t.text :description
t.timestamps
end
end
end