summaryrefslogtreecommitdiff
path: root/internal/db/setup.go
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2025-02-22 14:23:28 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2025-02-22 14:23:28 -0500
commit80ea0bf9e3f481b8ea813aefaa4de3b803b9f4ba (patch)
tree1e85b8536aa90746a0b97dc9467918ef135ccbb2 /internal/db/setup.go
parent4221780ce53ff7484f6f1958173373dc963e7967 (diff)
Fix brutal shutdown logicHEADmaster
Diffstat (limited to 'internal/db/setup.go')
-rw-r--r--internal/db/setup.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/db/setup.go b/internal/db/setup.go
index ff56233..26f40f2 100644
--- a/internal/db/setup.go
+++ b/internal/db/setup.go
@@ -59,8 +59,8 @@ func opts() string {
}
// Setup opens the SQLite DB at path, verifies its integrity and schema,
-// and returns the valid DB handle. If any check fails, it backs up the old file
-// and reinitializes the DB using the schema definitions.
+// and returns the valid DB handle. If any check fails, it backs up the old
+// file and reinitializes the DB using the schema definitions.
func Setup(ctx context.Context, path string) (*Store, error) {
slog.DebugContext(ctx, "Setting up database connection")