Changed db to postgresql