Updates migration for postgres