Sha256: fd2218a30e82994e0d4be0c3b963e7b6ab29f20e2c86a27574eadaa17c475b23

Contents?: true

Size: 448 Bytes

Versions: 39

Compression:

Stored size: 448 Bytes

Contents

if Rails.version.to_f >= 5.0
  class AddJobIdToCanvasSyncJobLogs < ActiveRecord::Migration[Rails.version.to_f]
    def change
      add_column :canvas_sync_job_logs, :job_id, :string
      add_index :canvas_sync_job_logs, :job_id
    end
  end
else
  class AddJobIdToCanvasSyncJobLogs < ActiveRecord::Migration
    def change
      add_column :canvas_sync_job_logs, :job_id, :string
      add_index :canvas_sync_job_logs, :job_id
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
canvas_sync-0.11.1 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.16.4 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.16.3 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.16.2 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.16.1 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.15.1 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.15.0 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.14.0 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.13.0 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.12.0 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.11.0 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.10.6 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.10.5 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.10.4 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.10.3 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.10.2 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.10.0 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.9.4 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.9.3 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb
canvas_sync-0.9.2 db/migrate/20180725155729_add_job_id_to_canvas_sync_job_logs.rb