diff options
author | ivan <ivan> | 2006-08-18 10:34:44 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-08-18 10:34:44 +0000 |
commit | a5fa93bd476f0f0e2c4ca265dc5a1ab20f7d26dd (patch) | |
tree | 83202ef5be9caebc78e86fdf8b72ad2229f5efe5 /FS | |
parent | 25e1618079cfd1001b71288e2504e9eeb8887c05 (diff) |
suggestion to run dbdef-create here, yes...
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_main.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 8b0f1b5b4..f7e16cfd3 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -511,7 +511,8 @@ sub _copy_skel { 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 |