mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
TODO
This commit is contained in:
1 parent
82c8958c44
commit
bb0c11f7d5
1 file changed
+1
@@ -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")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user