gitlab-org--gitlab-foss/db/migrate/20140729140420_create_label_links.rb
Dmitriy Zaporozhets 03654a6abf
Label and LabelLink models for implementing own GitLab labels
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-29 17:10:15 +03:00

11 lines
218 B
Ruby

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