Auto truncate on export to database

Would it be possible to force truncation on any field larger than what the max limit is set for in the database? Or maybe for the action “Database command” > “List table fields” you can add the max limit?

image