postgres to redshift migration script v1