Audit changes
This commit is contained in:
1 parent
52ea1a8d42
commit
fa182eca76
13 files changed
+29
-15
No files matched your search
+1
-1
@@ -27,7 +27,7 @@ type API struct {
|
||||
}
|
||||
|
||||
func New(dbPath string) (*API, error) {
|
||||
sqlDB, err := sql.Open("sqlite3", dbPath+"?_journal=WAL")
|
||||
sqlDB, err := sql.Open("sqlite3", dbPath+"?_journal=WAL&_foreign_keys=on")
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user