After tutuing with staticsswitch to postgres