Replaced db by a new one.