Sha256: 065d65d20346f10c38dfebad1e85e8203a4886fb68ecb9e227e1d5ae62428cf7
Contents?: true
Size: 855 Bytes
Versions: 26
Compression:
Stored size: 855 Bytes
Contents
class <%= migration_class_name %> < ActiveRecord::Migration<%= migration_version %> def change create_table :acidic_job_runs do |t| t.boolean :staged, null: false, default: -> { false } t.string :idempotency_key, null: false, index: { unique: true } t.text :serialized_job, null: false t.string :job_class, null: false t.datetime :last_run_at, null: true, default: -> { "CURRENT_TIMESTAMP" } t.datetime :locked_at, null: true t.string :recovery_point, null: true t.text :error_object, null: true t.text :attr_accessors, null: true t.text :workflow, null: true t.references :awaited_by, null: true, index: true t.text :returning_to, null: true t.timestamps end end end
Version data entries
26 entries across 26 versions & 1 rubygems