summaryrefslogtreecommitdiff
path: root/db/migrate/20140729134820_create_labels.rb
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