[freeside-commits] freeside/FS/FS cust_main.pm,1.234,1.235

Ivan,,, ivan at wavetail.420.am
Fri Aug 18 03:34:46 PDT 2006


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv21018

Modified Files:
	cust_main.pm 
Log Message:
suggestion to run dbdef-create here, yes...

Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.234
retrieving revision 1.235
diff -u -d -r1.234 -r1.235
--- cust_main.pm	18 Aug 2006 10:31:41 -0000	1.234
+++ cust_main.pm	18 Aug 2006 10:34:44 -0000	1.235
@@ -511,7 +511,8 @@
     my $sequence = '';
     if ( keys %{ $child_tables{$child_table} } ) {
 
-      return "$child_table has no primary key\n" unless $child_pkey;
+      return "$child_table has no primary key".
+             " (or do you need to run dbdef-create?)\n" unless $child_pkey;
 
       #false laziness w/Record::insert and only works on Pg
       #refactor the proper last-inserted-id stuff out of Record::insert if this



More information about the freeside-commits mailing list