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

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

  def change
    create_table :labels do |t|
      t.string :title
      t.string :color
      t.integer :project_id

      t.timestamps null: true
    end
  end
end