Skip to content

Commit 480405f

Browse files
committed
remove redundant setting
1 parent b9493ff commit 480405f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/lib/server/db.catdat.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ const db_path = join(process.cwd(), 'databases', 'catdat', 'catdat.db')
66

77
const db = new Database(db_path, { readonly: true })
88

9-
db.exec('PRAGMA foreign_keys = ON')
10-
119
/**
1210
* Small wrapper around db.prepare.all to handle errors,
1311
* use sql templates, and specify the type of the result.

0 commit comments

Comments
 (0)