Switch database to PostgresQL