We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
EXCLUSIVE
1 parent ce4a295 commit 98872a8Copy full SHA for 98872a8
internal/bootstrap/db.go
@@ -51,7 +51,7 @@ func InitDB() {
51
if !(strings.HasSuffix(database.DBFile, ".db") && len(database.DBFile) > 3) {
52
log.Fatalf("db name error.")
53
}
54
- dB, err = gorm.Open(sqlite.Open(fmt.Sprintf("%s?_journal=WAL&_locking=EXCLUSIVE&_vacuum=incremental",
+ dB, err = gorm.Open(sqlite.Open(fmt.Sprintf("%s?_journal=WAL&_vacuum=incremental",
55
database.DBFile)), gormConfig)
56
57
case "mysql":
0 commit comments