Sha256: 7efba1eacdbb38c9f9127a9d5f4bfd380c06ad6ee29431b7225e997bbe8e2d7b
Contents?: true
Size: 875 Bytes
Versions: 45
Compression:
Stored size: 875 Bytes
Contents
class <%= migration_class_name %> < ActiveRecord::Migration<%= migration_version %> def change drop_table :acidic_job_keys do |t| t.string :idempotency_key, null: false t.string :job_name, null: false t.text :job_args, null: true t.datetime :last_run_at, null: false, default: -> { "CURRENT_TIMESTAMP" } t.datetime :locked_at, null: true t.string :recovery_point, null: false t.text :error_object t.text :attr_accessors t.text :workflow t.timestamps t.index %i[idempotency_key job_name job_args], unique: true, name: "idx_acidic_job_keys_on_idempotency_key_n_job_name_n_job_args" end drop_table :staged_acidic_jobs do |t| t.string :adapter, null: false t.string :job_name, null: false t.text :job_args, null: true t.timestamps end end end
Version data entries
45 entries across 45 versions & 1 rubygems