New token cache model

Why does the schema version have to be this complex? A simple integer should suffice with a not equals condition.