summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDrew Blessing <drew.blessing@me.com>2014-09-11 10:48:29 -0500
committerDrew Blessing <drew.blessing@me.com>2014-09-11 18:41:03 -0500
commit09cdd94322d078b44d1eeddb6fbd67a889bed1c3 (patch)
tree1392dc6d6c8c79f6ba82d5186213f306a40379ee /db
parent80174c16d6e28f751e6afc59f9ba28f8c6b792fc (diff)
downloadgitlab-ce-09cdd94322d078b44d1eeddb6fbd67a889bed1c3.tar.gz
Fix serialize migration. Fixes #7734
Diffstat (limited to 'db')
-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],
}