Switched database to pg