infrastructure changes due to migration from mysql to postgres