Index: openacs-4/packages/bug-tracker/sql/postgresql/upgrade-1.4d5-1.4d6.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/bug-tracker/sql/postgresql/upgrade-1.4d5-1.4d6.sql,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/bug-tracker/sql/postgresql/upgrade-1.4d5-1.4d6.sql	27 Jun 2008 00:03:49 -0000	1.3
+++ openacs-4/packages/bug-tracker/sql/postgresql/upgrade-1.4d5-1.4d6.sql	18 Sep 2013 09:53:27 -0000	1.4
@@ -55,3 +55,4 @@
 end;
 ' language 'plpgsql';
 
+update bt_projects bp set workflow_id = w.workflow_id from workflows w where bp.project_id = w.object_id;
