Bulk Import missing lead_id
Posted: Wed Oct 02, 2024 12:35 pm
I'm having issues with bulk import. It looks like I screwed something along the way. The database is rejecting the insert commands because the 'lead_id' field is '' instead of having a iterative number.
Here is the output of
perl VICIDIAL_IN_new_leads_file.pl --new-list-for-each-file --new-list-active=Y --new-list-campaign=testerino --test --debug
values('' << here is the issue, the lead_id is blank and mariadb complains. Instead of being a serial integer it's blank.
What controls a new 'lead_id' ?? Is this normal? Could it be a mysql config issue?
Fresh database, was messing with my.conf prior to breaking....
Here is the output of
perl VICIDIAL_IN_new_leads_file.pl --new-list-for-each-file --new-list-active=Y --new-list-campaign=testerino --test --debug
- Code: Select all
||INSERT INTO vicidial_list (lead_id,entry_date,modify_date,status,user,vendor_lead_code,source_id,list_id,gmt_offset_now,called_since_last_reset,phone_code,phone_number,title,first_name,middle_initial,last_name,address1,address2,address3,city,state,province,postal_code,country_code,gender,date_of_birth,alt_phone,email,security_phrase,comments,called_count,last_local_call_time,rank,owner)
values('',"2024-10-02 13:25:40","","NEW","","38007590","REDACTED","202410021","0","N","1","REDACTED","","Ricardo","","REDACTED","","","","Colorado Springs","CO","","","USA","male","","","","","REDACTED,"0",'2008-01-01 00:00:00',"0","");
values('' << here is the issue, the lead_id is blank and mariadb complains. Instead of being a serial integer it's blank.
What controls a new 'lead_id' ?? Is this normal? Could it be a mysql config issue?
Fresh database, was messing with my.conf prior to breaking....