demarches-normaliennes/db/migrate/20180515135415_add_aasm_state_to_procedures.rb

6 lines
168 B
Ruby
Raw Normal View History

2018-05-15 16:20:21 +02:00
class AddAasmStateToProcedures < ActiveRecord::Migration[5.2]
def change
add_column :procedures, :aasm_state, :string, index: true, default: :brouillon
end
end