Moving data store to sqlite