Sha256: 690ed5c7c175d4df9f6e29c11df99b82c0b90aa51cd066a7bc08270bb75f4b7b
Contents?: true
Size: 572 Bytes
Versions: 47
Compression:
Stored size: 572 Bytes
Contents
# frozen_string_literal: true class CreateJobTrackers < ActiveRecord::Migration[5.2] def change create_table :spotlight_job_trackers do |t| t.references :on, null: false, polymorphic: true, index: true t.references :resource, null: false, polymorphic: true, index: true t.string :job_id t.string :job_class t.string :parent_job_id t.string :parent_job_class t.string :status t.references :user t.text :log t.text :data t.timestamps end add_index :spotlight_job_trackers, :job_id end end
Version data entries
47 entries across 47 versions & 1 rubygems