demarches-normaliennes/db/migrate/20210407174523_drop_unused_columns.rb

14 lines
441 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2021-04-07 19:53:18 +02:00
class DropUnusedColumns < ActiveRecord::Migration[6.1]
def change
remove_column :avis, :instructeur_id
remove_column :avis, :tmp_expert_migrated
remove_column :etablissements, :entreprise_id
remove_column :procedures, :archived_at
remove_column :procedures, :csv_export_queued
remove_column :procedures, :xlsx_export_queued
remove_column :procedures, :ods_export_queued
end
end