demarches-normaliennes/db/migrate/20240514164228_add_state_to_attestation_templates.rb

8 lines
199 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AddStateToAttestationTemplates < ActiveRecord::Migration[7.0]
def change
add_column :attestation_templates, :state, :string, default: 'published'
end
end