diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-29 17:10:15 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-29 17:10:15 +0300 |
commit | 03654a6abf47c88b8b980a6707874ff78080d2fe (patch) | |
tree | c5ba2dba7f0685dd6c5e656a50f70400a746b23e /db/migrate/20140729134820_create_labels.rb | |
parent | 535feb08ce90352c89799df5e3e70a10e53ee10d (diff) | |
download | gitlab-ce-03654a6abf47c88b8b980a6707874ff78080d2fe.tar.gz |
Label and LabelLink models for implementing own GitLab labels
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'db/migrate/20140729134820_create_labels.rb')
-rw-r--r-- | db/migrate/20140729134820_create_labels.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20140729134820_create_labels.rb b/db/migrate/20140729134820_create_labels.rb new file mode 100644 index 00000000000..3a4b6a152dc --- /dev/null +++ b/db/migrate/20140729134820_create_labels.rb @@ -0,0 +1,11 @@ +class CreateLabels < ActiveRecord::Migration + def change + create_table :labels do |t| + t.string :title + t.string :color + t.integer :project_id + + t.timestamps + end + end +end |