Index: openacs-4/packages/acs-service-contract/sql/postgresql/acs-sc-packages-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-service-contract/sql/postgresql/acs-sc-packages-create.sql,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/acs-service-contract/sql/postgresql/acs-sc-packages-create.sql	16 Sep 2002 12:52:51 -0000	1.5
+++ openacs-4/packages/acs-service-contract/sql/postgresql/acs-sc-packages-create.sql	10 Sep 2003 14:52:01 -0000	1.6
@@ -211,12 +211,13 @@
 
 
 
-create function acs_sc_impl__new(varchar,varchar,varchar)
+create function acs_sc_impl__new(varchar,varchar,varchar,varchar)
 returns integer as '
 declare
     p_impl_contract_name	alias for $1;
     p_impl_name			alias for $2;
-    p_impl_owner_name		alias for $3;
+    p_impl_pretty_name          alias for $3;
+    p_impl_owner_name		alias for $4;
     v_impl_id			integer;
 begin
 
@@ -232,11 +233,13 @@
     insert into acs_sc_impls (
         impl_id,
 	impl_name,
+        impl_pretty_name,
         impl_owner_name,
 	impl_contract_name
     ) values (
         v_impl_id,
 	p_impl_name,
+        p_impl_pretty_name,
 	p_impl_owner_name,
 	p_impl_contract_name
     );
