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

20130711063759_create_project_group_links.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: efccb2aa938b69a0e5b4fb21dc75cad9b6736cdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# rubocop:disable all
class CreateProjectGroupLinks < ActiveRecord::Migration
  DOWNTIME = false

  def change
    create_table :project_group_links do |t|
      t.integer :project_id, null: false
      t.integer :group_id, null: false

      t.timestamps null: true
    end
  end
end