From 45ca565a024913acfee4459ba51b31fdb4e9e531 Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Sun, 2 Jan 2011 21:12:07 +0000 Subject: [PATCH] postgresql : improve type of PROJECT_MEASURES.VARIATION_VALUE columns --- .../WEB-INF/db/migrate/163_add_variation_columns.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/163_add_variation_columns.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/163_add_variation_columns.rb index 0b334326ac4..00b079eb6f3 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/163_add_variation_columns.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/163_add_variation_columns.rb @@ -149,11 +149,11 @@ class AddVariationColumns < ActiveRecord::Migration DROP COLUMN diff_value_1, DROP COLUMN diff_value_2, DROP COLUMN diff_value_3, - ADD variation_value_1 numeric, - ADD variation_value_2 numeric, - ADD variation_value_3 numeric, - ADD variation_value_4 numeric, - ADD variation_value_5 numeric') + ADD variation_value_1 numeric(30,20), + ADD variation_value_2 numeric(30,20), + ADD variation_value_3 numeric(30,20), + ADD variation_value_4 numeric(30,20), + ADD variation_value_5 numeric(30,20)') execute_ddl('add snapshots columns','ALTER TABLE snapshots ADD period1_mode character varying(100), -- 2.39.5