summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2019-07-02 16:11:40 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2019-07-02 16:11:40 +0000
commitca28f7f1e23f52060a77872b435ca04a48620cb1 (patch)
tree220d1e75d15064905f1a235b4303d8f217a8842f /db
parentff75b6b2dbd1d12b6989e3f8ead6e6e26d0742aa (diff)
parentddbbf453c76144ac60c67e783424faf843c8efa1 (diff)
downloadgitlab-ce-ca28f7f1e23f52060a77872b435ca04a48620cb1.tar.gz
Merge branch '63690-issue-trackers-title' into 'master'
Use title and description fields for issue trackers Closes #63690 See merge request gitlab-org/gitlab-ce!30096
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20190625115224_add_description_to_services.rb14
-rw-r--r--db/schema.rb1
2 files changed, 15 insertions, 0 deletions
diff --git a/db/migrate/20190625115224_add_description_to_services.rb b/db/migrate/20190625115224_add_description_to_services.rb
new file mode 100644
index 00000000000..d5ef3900462
--- /dev/null
+++ b/db/migrate/20190625115224_add_description_to_services.rb
@@ -0,0 +1,14 @@
+# frozen_string_literal: true
+
+# See http://doc.gitlab.com/ce/development/migration_style_guide.html
+# for more information on how to write migrations for GitLab.
+
+class AddDescriptionToServices < ActiveRecord::Migration[5.1]
+ include Gitlab::Database::MigrationHelpers
+
+ DOWNTIME = false
+
+ def change
+ add_column :services, :description, :string, limit: 500
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 8876be1cb34..7948f919c57 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -3029,6 +3029,7 @@ ActiveRecord::Schema.define(version: 20190628145246) do
t.boolean "job_events", default: false, null: false
t.boolean "confidential_note_events", default: true
t.boolean "deployment_events", default: false, null: false
+ t.string "description", limit: 500
t.index ["project_id"], name: "index_services_on_project_id", using: :btree
t.index ["template"], name: "index_services_on_template", using: :btree
t.index ["type"], name: "index_services_on_type", using: :btree