Patch for sqlite3 on migration 0008