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

9 lines
238 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
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