Fixes migration to keep PG happy