Added a “deleted” flag to all model objects, and altered the DAO so that delete() is a soft delete, restore() undoes a delete, and purge() is a hard delete; changed schema to v2 and upgraded automatically when starting the app