From 0fe5f0fb7e49caf4eea6716ac79102de468231ff Mon Sep 17 00:00:00 2001 From: Dakota Walsh Date: Fri, 4 Oct 2024 10:24:04 +1300 Subject: [PATCH] Fix minor comment typo in db.Open --- db/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/db.go b/db/db.go index eb447f9..93e05af 100644 --- a/db/db.go +++ b/db/db.go @@ -46,7 +46,7 @@ func Open(dsn string) (*sqlitex.Pool, error) { db, err := sqlitex.NewPool(dsn, sqlitex.PoolOptions{ PoolSize: 10, PrepareConn: func(conn *sqlite.Conn) error { - // Create users table. + // Enable foreign keys enforcement. err := sqlitex.Execute( conn, `PRAGMA foreign_keys = on`, -- 2.45.2