demarches-normaliennes/db/migrate/20190917120039_remove_carrierwave_columns.rb
2019-09-17 15:39:15 +02:00

8 lines
376 B
Ruby

class RemoveCarrierwaveColumns < ActiveRecord::Migration[5.2]
def change
remove_columns :procedures, :logo, :logo_secure_token
remove_columns :commentaires, :file, :piece_justificative_id
remove_columns :attestations, :pdf, :content_secure_token
remove_columns :attestation_templates, :logo, :logo_secure_token, :signature, :signature_secure_token
end
end