From bb0c11f7d5aa583f5b85f4d7fb5b2f414817d37c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Mon, 29 Jul 2019 09:11:47 +0200 Subject: [PATCH] TODO --- GRDB/Migration/Migration.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/GRDB/Migration/Migration.swift b/GRDB/Migration/Migration.swift index ac17249da..098667d76 100644 --- a/GRDB/Migration/Migration.swift +++ b/GRDB/Migration/Migration.swift @@ -76,6 +76,7 @@ struct Migration { return .commit } + // TODO: we should restore foreign_keys in case of error as well // > 12. If foreign keys constraints were originally enabled, reenable them now. try db.execute(sql: "PRAGMA foreign_keys = ON") }