added versioning for the cards database
DB_VERSION must be incremented when database needs clearing