Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJarka Košanová <jarka@gitlab.com>2019-06-26 17:03:57 +0300
committerJarka Košanová <jarka@gitlab.com>2019-07-02 16:00:27 +0300
commitddbbf453c76144ac60c67e783424faf843c8efa1 (patch)
tree028cd360ebcae9582ac05a4b13ba2005621c534a /db
parent0e8b76e1918a7ca441e9eb98819f10da24e0588a (diff)
Use title and description fields for issue trackers
- instead of using properties - backward compatibility has to be kept for now
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 50fee850f9f..ad99ec73c07 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -3028,6 +3028,7 @@ ActiveRecord::Schema.define(version: 20190627051902) 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