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-3.13.0 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.12.0 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.11.0 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.10.3 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.10.2 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.10.1 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.10.0 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.9.8 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.9.7 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.9.6 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.9.5 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.9.4 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.9.3 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.9.2 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.9.1 db/migrate/20161119064536_delete_id_cards.rb
dorsale-3.9.0 db/migrate/20161119064536_delete_id_cards.rb