Index: openacs-4/packages/workflow/sql/postgresql/workflow-tables-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/workflow/sql/postgresql/workflow-tables-create.sql,v diff -u -r1.9 -r1.10 --- openacs-4/packages/workflow/sql/postgresql/workflow-tables-create.sql 5 Mar 2003 17:17:33 -0000 1.9 +++ openacs-4/packages/workflow/sql/postgresql/workflow-tables-create.sql 28 Aug 2003 12:03:23 -0000 1.10 @@ -16,26 +16,19 @@ -- Create the workflow object type -- We use workflow_lite rather than just workflow -- to avoid a clash with the old workflow package acs-workflow -create function inline_0 () -returns integer as ' -begin - PERFORM acs_object_type__create_type ( - ''workflow_lite'', - ''Workflow Lite'', - ''Workflow Lites'', - ''acs_object'', - ''workflows'', - ''workflow_id'', - null, - ''f'', - null, - null - ); +select acs_object_type__create_type ( + 'workflow_lite', + 'Workflow Lite', + 'Workflow Lites', + 'acs_object', + 'workflows', + 'workflow_id', + null, + 'f', + null, + null +); - return 0; -end;' language 'plpgsql'; -select inline_0 (); -drop function inline_0 (); -- A generic table for any kind of workflow implementation -- Currently, the table only holds FSM workflows but when