Truncate values that are too big to fit in the DB