demarches-normaliennes/db/migrate/20220728084804_remove_ignored_columns.rb

13 lines
428 B
Ruby
Raw Normal View History

2022-07-28 10:55:37 +02:00
class RemoveIgnoredColumns < ActiveRecord::Migration[6.1]
def change
safety_assured do
remove_column :commentaires, :user_id
remove_column :dossiers, :en_construction_conservation_extension
remove_column :types_de_champ, :migrated_parent
remove_column :types_de_champ, :revision_id
remove_column :types_de_champ, :parent_id
remove_column :types_de_champ, :order_place
end
end
end