[database] remove old models