Expanding the lead ID length
Posted: Tue Mar 07, 2023 6:49 pm
Our ViciDial instance currently has lead IDs in the 8XXXXXXXX range. Obviously we still have a long ways to go before we hit the max possible lead ID, but we are trying to prepare for the future in case we do hit that limit and need to expand our max lead ID. I can see in the database that the lead_id column in the vicidial_list table has a length of 9, but there are other lead_id columns in other tables which have a longer max length, like vicidial_recording_access_log with 10 digits, vicidial_comments with 11 digits, etc. I can very easily write a query which sweeps through all columns and updates the max length to something longer, but I want to make sure this won't break any functionality elsewhere in the system. I also don't want to introduce display issues or search issues where the full lead ID won't be able to be entered or displayed. Has anyone gone through anything similar and have experience with this?