demarches-normaliennes/db/migrate/20240131100329_validate_export_template_fk.rb
2024-05-23 10:00:34 +02:00

5 lines
138 B
Ruby

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