mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-23 00:47:51 +00:00
12 lines
467 B
Ruby
12 lines
467 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateCiProjectsWithPipelineVariables < Gitlab::Database::Migration[2.2]
|
|
milestone '17.10'
|
|
|
|
def change
|
|
create_table(:projects_with_pipeline_variables, if_not_exists: true, id: false) do |t| # rubocop:disable Migration/EnsureFactoryForTable -- factory at ci/project_with_pipeline_variable.rb
|
|
t.references :project, primary_key: true, default: nil, index: false, foreign_key: { on_delete: :cascade }
|
|
end
|
|
end
|
|
end
|