BigW Consortium Gitlab

20140729140420_create_label_links.rb 218 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
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