summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-09-03 15:50:23 +0300
committerValery Sizov <vsv2711@gmail.com>2015-09-03 15:50:23 +0300
commit57d001309013c4c27e593778ec68b523e7d73b81 (patch)
tree627a5c54481f52b3d49c655fcd675c9b568ab849 /db/migrate
parent28219ea9211d6caafa34620859ff0e879ec54c12 (diff)
downloadgitlab-ce-57d001309013c4c27e593778ec68b523e7d73b81.tar.gz
CRUD for admin labels
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20150902001023_add_template_to_label.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20150902001023_add_template_to_label.rb b/db/migrate/20150902001023_add_template_to_label.rb
new file mode 100644
index 00000000000..bd381a97b69
--- /dev/null
+++ b/db/migrate/20150902001023_add_template_to_label.rb
@@ -0,0 +1,5 @@
+class AddTemplateToLabel < ActiveRecord::Migration
+ def change
+ add_column :labels, :template, :boolean, default: false
+ end
+end \ No newline at end of file