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