add deleted and version to store struct for gorp