class CreateActiveEncodeEncodeRecords < ActiveRecord::Migration[5.2]
  def change
    create_table :active_encode_encode_records do |t|
      t.string :global_id
      t.string :state
      t.string :adapter
      t.string :title
      t.text :raw_object

      t.timestamps
    end
  end
end

class CreateActiveEncodeEncodeRecords < ActiveRecord::Migration[5.0]
  def change
    create_table :active_encode_encode_records do |t|
      t.string :global_id
      t.string :state
      t.string :adapter
      t.string :title
      t.text :raw_object

      t.timestamps
    end
  end
end

Reduce migration version to accommodate rails 5.0+
Reduce migration version to accommodate rails 5.0+