From fa7ae31894d7676d66c2ac28106a490decbded66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Mon, 2 Mar 2020 07:53:25 +0100 Subject: [PATCH] TODO --- TODO.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/TODO.md b/TODO.md index fcb1f5900..e41d29cfa 100644 --- a/TODO.md +++ b/TODO.md @@ -8,11 +8,6 @@ - [ ] Test NOT TESTED methods - [ ] Cancellation of a started ValueObservation. Context: https://github.com/groue/GRDB.swift/issues/601#issuecomment-524733140 - [ ] Remove submodules -- [ ] DatabaseMigrator.unappliedMigrations(in:upTo:), DatabaseMigrator.needsMigrate(in:). Update App Group sample code, so that read-only apps check the schema. -- [ ] DatabaseMigrator should always use dbWriter.writeBarrierWithoutTransaction -- [ ] Remove EmptyDatabaseSchemaCache, it is useless -- [ ] DatabasePool.databaseSchemaIsLocked = true (should forbid schema changes, and never reset dbPool readers' caches). Or can we invalidate reader's cache automatically from the writer connection? -- [ ] Database.clearSchemaCache() is fine, but what about dbPool readers? Can we invalidate the cache for a whole pool? ## Documentation @@ -43,6 +38,8 @@ - [ ] FTS: prefix queries - [ ] A way to stop a ValueObservation observer without waiting for deinit - [ ] More schema alterations +- [ ] DatabasePool.databaseSchemaIsLocked = true (should forbid schema changes, and never reset dbPool readers' caches). Or can we invalidate reader's cache automatically from the writer connection? +- [ ] Database.clearSchemaCache() is fine, but what about dbPool readers? Can we invalidate the cache for a whole pool? ## Unsure if necessary