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
diff options
context:
space:
mode:
authorDrew Blessing <drew.blessing@me.com>2014-09-11 19:48:29 +0400
committerDrew Blessing <drew.blessing@me.com>2014-09-12 03:41:03 +0400
commit09cdd94322d078b44d1eeddb6fbd67a889bed1c3 (patch)
tree1392dc6d6c8c79f6ba82d5186213f306a40379ee /db/migrate/20140907220153_serialize_service_properties.rb
parent80174c16d6e28f751e6afc59f9ba28f8c6b792fc (diff)
Fix serialize migration. Fixes #7734
Diffstat (limited to 'db/migrate/20140907220153_serialize_service_properties.rb')
-rw-r--r--db/migrate/20140907220153_serialize_service_properties.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/migrate/20140907220153_serialize_service_properties.rb b/db/migrate/20140907220153_serialize_service_properties.rb
index 2326fd0aebf..b95f5b82e03 100644
--- a/db/migrate/20140907220153_serialize_service_properties.rb
+++ b/db/migrate/20140907220153_serialize_service_properties.rb
@@ -1,6 +1,7 @@
class SerializeServiceProperties < ActiveRecord::Migration
def change
add_column :services, :properties, :text
+ Service.reset_column_information
associations =
{
@@ -13,7 +14,7 @@ class SerializeServiceProperties < ActiveRecord::Migration
HipchatService: [:token, :room],
PivotaltrackerService: [:token],
SlackService: [:subdomain, :token, :room],
- JenkinsService: [:token, :subdomain],
+ JenkinsService: [:project_url],
JiraService: [:project_url, :username, :password,
:api_version, :jira_issue_transition_id],
}