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: fa5992605f81bff2bf0df5c9118390c9c3b0f855 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# rubocop:disable all
class CreateLabelLinks < ActiveRecord::Migration
  def change
    create_table :label_links do |t|
      t.integer :label_id
      t.integer :target_id
      t.string :target_type

      t.timestamps
    end
  end
end