demarches-normaliennes/db/migrate/20240131094915_add_template_to_exports.rb

9 lines
233 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2024-03-08 10:11:11 +01:00
class AddTemplateToExports < ActiveRecord::Migration[7.0]
disable_ddl_transaction!
def change
add_reference :exports, :export_template, null: true, index: { algorithm: :concurrently }
end
end