1 2 3 4 5 6 7 8 9 10 11 12 13 14
# frozen_string_literal: true class ValidateForeignKeyFromChatNameToService < ActiveRecord::Migration[6.0] include Gitlab::Database::MigrationHelpers DOWNTIME = false def up validate_foreign_key :chat_names, :service_id end def down # no-op end end