Sha256: 6abe0da28c39a8d2b5a38fd9c4b2a032dd90c6d2a61e093a573439d4e4a98122

Contents?: true

Size: 401 Bytes

Versions: 12

Compression:

Stored size: 401 Bytes

Contents

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

12 entries across 12 versions & 1 rubygems

Version Path
dispatch-rider-2.1.0 lib/dispatch-rider/scheduled_job/migration.rb
dispatch-rider-2.0.0 lib/dispatch-rider/scheduled_job/migration.rb
dispatch-rider-1.9.0 lib/dispatch-rider/scheduled_job/migration.rb
dispatch-rider-1.8.6 lib/dispatch-rider/scheduled_job/migration.rb
dispatch-rider-1.8.5 lib/dispatch-rider/scheduled_job/migration.rb
dispatch-rider-1.8.4 lib/dispatch-rider/scheduled_job/migration.rb
dispatch-rider-1.8.3 lib/dispatch-rider/scheduled_job/migration.rb
dispatch-rider-1.8.2 lib/dispatch-rider/scheduled_job/migration.rb
dispatch-rider-1.8.1 lib/dispatch-rider/scheduled_job/migration.rb
dispatch-rider-1.8.0 lib/dispatch-rider/scheduled_job/migration.rb
dispatch-rider-1.7.2 lib/dispatch-rider/scheduled_job/migration.rb
dispatch-rider-1.7.1 lib/dispatch-rider/scheduled_job/migration.rb