Filenames and Spatie

I don't want to save original filenames, they cause problems, especially long ones causing errors like below. How can I just use dynamically generated ones and never store the original filename?
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'file_name' at row 1
. i know there is an option to preserver original filenames, but i don't want them to be saved at all because of issues above.
Was this page helpful?