Sha256: 6d370f6fa3e72c5e7b14d83e59b6cd91cae63091c59f01890c406be4a528cff5

Contents?: true

Size: 432 Bytes

Versions: 1

Compression:

Stored size: 432 Bytes

Contents

# frozen_string_literal: true

module DispatchRider
  module ScheduledJob::Migration
    def create_scheduled_jobs_table
      create_table :scheduled_jobs do |t|
        t.datetime :scheduled_at
        t.text :destinations
        t.text :message
        t.string :claim_id
        t.datetime :claim_expires_at

        t.index :scheduled_at
        t.index :claim_id
        t.index :claim_expires_at
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dispatch-rider-2.2.0 lib/dispatch-rider/scheduled_job/migration.rb