PostgreSQL migration.