Welcome to mirror list, hosted at ThFree Co, Russian Federation.

00_active_record_gitlab_schema.rb « initializers « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f1ddd4d4eb1b3fd5670225e0efad70eda6a419fd (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

# This parameter describes a virtual context to indicate
# table affinity to other tables.
#
# Table affinity limits cross-joins, cross-modifications,
# foreign keys and validates relationship between tables
#
# By default it is undefined
ActiveRecord::Base.class_attribute :gitlab_schema, default: nil