Files
danbooru/db/migrate/20220110171023_create_good_job_processes.rb
2022-01-10 11:32:59 -06:00

18 lines
449 B
Ruby

# frozen_string_literal: true
class CreateGoodJobProcesses < ActiveRecord::Migration[7.0]
def change
reversible do |dir|
dir.up do
# Ensure this incremental update migration is idempotent
# with monolithic install migration.
return if connection.table_exists?(:good_job_processes)
end
end
create_table :good_job_processes, id: :uuid do |t|
t.timestamps
t.jsonb :state
end
end
end