cdproject8/Artsdatabanken — Issue #42: Database migration (js/ObservationDao.js)
Author: stianlik
Created: 2011-10-24 11:37:22+00:00
State: open
Labels: Coding

Modify this.connect (...)and this.migrate(...) to uninstall the database if the phone contains an older version. It should also install the database the first time app is run (ensured by running install() if version = ""). Old migration code can be removed, maybe it's sufficient to remove all of the migrate code (except the top 2 lines) for now.