demarches-normaliennes/db/migrate/20190917120039_remove_carrierwave_columns.rb

11 lines
407 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
2019-09-17 14:13:32 +02:00
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