20140729140420_create_label_links.rb 276 Bytes
Newer Older
1
# rubocop:disable all
2
class CreateLabelLinks < ActiveRecord::Migration[4.2]
3 4
  DOWNTIME = false

5 6 7 8 9 10
  def change
    create_table :label_links do |t|
      t.integer :label_id
      t.integer :target_id
      t.string :target_type

11
      t.timestamps null: true
12 13 14
    end
  end
end