[Fusionforge-commits] r14867 - in trunk: . src/db

Roland Mas lolando at fusionforge.org
Thu Nov 17 20:56:26 CET 2011


Author: lolando
Date: 2011-11-17 20:56:26 +0100 (Thu, 17 Nov 2011)
New Revision: 14867

Modified:
   trunk/
   trunk/src/db/20111017-schema-convergence-src-1.sql
   trunk/src/db/schema-convergence-deb-1.sql
Log:
More convergence SQL

Modified: trunk/src/db/20111017-schema-convergence-src-1.sql
===================================================================
--- trunk/src/db/20111017-schema-convergence-src-1.sql	2011-11-17 19:56:18 UTC (rev 14866)
+++ trunk/src/db/20111017-schema-convergence-src-1.sql	2011-11-17 19:56:26 UTC (rev 14867)
@@ -100,3 +100,5 @@
 ALTER TABLE project_tags ALTER COLUMN name SET DEFAULT ''::text;
 
 ALTER TABLE user_preferences DROP COLUMN dead1;
+
+ALTER TABLE user_group ALTER COLUMN artifact_flags SET DEFAULT 0;

Modified: trunk/src/db/schema-convergence-deb-1.sql
===================================================================
--- trunk/src/db/schema-convergence-deb-1.sql	2011-11-17 19:56:18 UTC (rev 14866)
+++ trunk/src/db/schema-convergence-deb-1.sql	2011-11-17 19:56:26 UTC (rev 14867)
@@ -27,6 +27,20 @@
 ALTER TABLE users DROP COLUMN sys_state;
 ALTER TABLE groups DROP COLUMN sys_state;
 ALTER TABLE user_group DROP COLUMN sys_state;
+ALTER TABLE user_group DROP COLUMN dead1;
+ALTER TABLE user_group DROP COLUMN dead2;
+ALTER TABLE user_group DROP COLUMN dead3;
+ALTER TABLE user_group DROP COLUMN sys_cvs_state;
 
 ALTER TABLE project_task ALTER COLUMN hours SET DEFAULT 0::double precision;
 ALTER TABLE survey_rating_aggregate ALTER COLUMN response SET DEFAULT 0::double precision;
+ALTER TABLE user_metric ALTER COLUMN avg_rating SET DEFAULT 0::double precision;
+ALTER TABLE user_metric ALTER COLUMN metric SET DEFAULT 0::double precision;
+ALTER TABLE user_metric ALTER COLUMN percentile SET DEFAULT 0::double precision;
+ALTER TABLE user_metric ALTER COLUMN importance_factor SET DEFAULT 0::double precision;
+
+ALTER TABLE user_metric0 ALTER COLUMN avg_raters_importance SET DEFAULT 0::double precision;
+ALTER TABLE user_metric0 ALTER COLUMN avg_rating SET DEFAULT 0::double precision;
+ALTER TABLE user_metric0 ALTER COLUMN metric SET DEFAULT 0::double precision;
+ALTER TABLE user_metric0 ALTER COLUMN percentile SET DEFAULT 0::double precision;
+ALTER TABLE user_metric0 ALTER COLUMN importance_factor SET DEFAULT 0::double precision;




More information about the Fusionforge-commits mailing list