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

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

  def change
    create_table :label_links do |t|
      t.integer :label_id
      t.integer :target_id
      t.string :target_type

      t.timestamps null: true
    end
  end
end