demarches-normaliennes/db/migrate/20240131100329_validate_export_template_fk.rb

8 lines
169 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2024-03-08 10:11:11 +01:00
class ValidateExportTemplateFk < ActiveRecord::Migration[7.0]
def change
validate_foreign_key :exports, :export_templates
end
end