SQLite DB patch