Sha256: 512903e1974626a2e059b9997e5f77dcf0d82d90b1e1f21751fb1c5d80023379

Contents?: true

Size: 379 Bytes

Versions: 36

Compression:

Stored size: 379 Bytes

Contents

class DeleteIdCards < ActiveRecord::Migration[5.0]
  def change
    # Comment this migration or only this line to keep or delete id cards
    raise "Hi ! Do you want to delete id cards ?"
    drop_table :dorsale_billing_machine_id_cards
    remove_column :dorsale_billing_machine_invoices, :id_card_id
    remove_column :dorsale_billing_machine_quotations, :id_card_id
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
dorsale-4.0.0 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.20.0 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.19.1 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.19.0 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.18.0 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.17.0 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.16.0 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.15.0 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.14.11 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.14.10 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.14.9 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.14.8 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.14.7 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.14.6 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.14.5 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.14.4 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.14.3 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.14.2 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.14.1 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.14.0 db/migrate/20161119064536_delete_id_cards.rb