Change production and test databases to postgres