migrated database back to sqlite3