demarches-normaliennes/db/migrate/20240131100329_validate_export_template_fk.rb
2024-08-22 09:26:48 +02:00

7 lines
169 B
Ruby

# frozen_string_literal: true
class ValidateExportTemplateFk < ActiveRecord::Migration[7.0]
def change
validate_foreign_key :exports, :export_templates
end
end