demarches-normaliennes/db/migrate/20240325140538_validate_fk_on_bulk_message.rb

8 lines
168 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class ValidateFkOnBulkMessage < ActiveRecord::Migration[7.0]
def change
validate_foreign_key :bulk_messages, :procedures
end
end