demarches-normaliennes/db/migrate/20220315124100_add_preview_to_dossiers.rb

7 lines
207 B
Ruby
Raw Normal View History

2022-04-27 16:28:22 +02:00
class AddPreviewToDossiers < ActiveRecord::Migration[6.1]
def change
add_column :dossiers, :for_procedure_preview, :boolean
change_column_default :dossiers, :for_procedure_preview, false
end
end