summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-02-19 17:54:13 -0800
committerDouwe Maan <douwe@selenight.nl>2016-02-19 17:54:13 -0800
commit31682eb987ea6ab4f187a9e2bacb23d2ed86b1f5 (patch)
tree5a4177a685daa62164f0e0ea1902ed1a56684e5a /db
parent0c5abb1e0ba87a9e8c28dfc2f1cf455cf5b64ab9 (diff)
parentcec57275f0b96fcd5644239bfbe2773cdec0ed58 (diff)
downloadgitlab-ce-31682eb987ea6ab4f187a9e2bacb23d2ed86b1f5.tar.gz
Merge branch 'visibletrap/gitlab-ce-label'
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20160217100506_add_description_to_label.rb5
-rw-r--r--db/schema.rb5
2 files changed, 8 insertions, 2 deletions
diff --git a/db/migrate/20160217100506_add_description_to_label.rb b/db/migrate/20160217100506_add_description_to_label.rb
new file mode 100644
index 00000000000..eed6d1f236a
--- /dev/null
+++ b/db/migrate/20160217100506_add_description_to_label.rb
@@ -0,0 +1,5 @@
+class AddDescriptionToLabel < ActiveRecord::Migration
+ def change
+ add_column :labels, :description, :string
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 344c384b6d0..af5bac63b42 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20160209130428) do
+ActiveRecord::Schema.define(version: 20160217100506) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -445,7 +445,8 @@ ActiveRecord::Schema.define(version: 20160209130428) do
t.integer "project_id"
t.datetime "created_at"
t.datetime "updated_at"
- t.boolean "template", default: false
+ t.boolean "template", default: false
+ t.string "description"
end
add_index "labels", ["project_id"], name: "index_labels_on_project_id", using: :btree