summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorJarka Košanová <jarka@gitlab.com>2019-06-26 16:03:57 +0200
committerJarka Košanová <jarka@gitlab.com>2019-07-02 15:00:27 +0200
commitddbbf453c76144ac60c67e783424faf843c8efa1 (patch)
tree028cd360ebcae9582ac05a4b13ba2005621c534a /db/migrate
parent0e8b76e1918a7ca441e9eb98819f10da24e0588a (diff)
downloadgitlab-ce-ddbbf453c76144ac60c67e783424faf843c8efa1.tar.gz
Use title and description fields for issue trackers63690-issue-trackers-title
- instead of using properties - backward compatibility has to be kept for now
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20190625115224_add_description_to_services.rb14
1 files changed, 14 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