Sha256: 67379faada7ec0dfe6272b7b9b99e21559491283c2a871df858a2401cb01693f

Contents?: true

Size: 280 Bytes

Versions: 26

Compression:

Stored size: 280 Bytes

Contents

class RemoveCrewTimeIdFromCrew < ActiveRecord::Migration[6.0]
  def change
    remove_foreign_key :ecom_core_crew_times, :ecom_core_crews, column: :crew_id
    remove_index :ecom_core_crew_times, name: 'ct_on_crew_indx'
    remove_column :ecom_core_crew_times, :crew_id
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ecom_core-1.1.14 db/migrate/20200401144137_remove_crew_time_id_from_crew.rb
ecom_core-1.1.13 db/migrate/20200401144137_remove_crew_time_id_from_crew.rb
ecom_core-1.1.12 db/migrate/20200401144137_remove_crew_time_id_from_crew.rb
ecom_core-1.1.11 db/migrate/20200401144137_remove_crew_time_id_from_crew.rb
ecom_core-1.1.10 db/migrate/20200401144137_remove_crew_time_id_from_crew.rb
ecom_core-1.1.9 db/migrate/20200401144137_remove_crew_time_id_from_crew.rb