PostgreSQL DATE type doesn't accept empty strings (''). Convert empty/whitespace date values to NULL during migration. Fixes: invalid input syntax for type date: "" Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>