diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-29 18:10:15 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-29 18:10:15 +0400 |
commit | 03654a6abf47c88b8b980a6707874ff78080d2fe (patch) | |
tree | c5ba2dba7f0685dd6c5e656a50f70400a746b23e /db/migrate/20140729140420_create_label_links.rb | |
parent | 535feb08ce90352c89799df5e3e70a10e53ee10d (diff) |
Label and LabelLink models for implementing own GitLab labels
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'db/migrate/20140729140420_create_label_links.rb')
-rw-r--r-- | db/migrate/20140729140420_create_label_links.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20140729140420_create_label_links.rb b/db/migrate/20140729140420_create_label_links.rb new file mode 100644 index 00000000000..2bfc4ae2094 --- /dev/null +++ b/db/migrate/20140729140420_create_label_links.rb @@ -0,0 +1,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 |