Change dev and test databases to postgres