diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-01-02 21:12:07 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-01-02 21:12:07 +0000 |
commit | 45ca565a024913acfee4459ba51b31fdb4e9e531 (patch) | |
tree | 80bb1b08817aed5c0cecf1aab227a34b1be307ab | |
parent | a7e8af442c85a5a4bba5f712ce6dc83cf313f9a3 (diff) | |
download | sonarqube-45ca565a024913acfee4459ba51b31fdb4e9e531.tar.gz sonarqube-45ca565a024913acfee4459ba51b31fdb4e9e531.zip |
postgresql : improve type of PROJECT_MEASURES.VARIATION_VALUE columns
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/db/migrate/163_add_variation_columns.rb | 10 |
1 files 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), |