Make sure PostgreSQL casts the text to int during migration.