Skip to content

Commit 10fb9cf

Browse files
authored
Default enable foreign keys
1 parent 1cba6e2 commit 10fb9cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/config_ext.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@
2222
#define SQLITE_DISABLE_FTS3_UNICODE 1
2323
#define SQLITE_DISABLE_FTS4_DEFERRED 1
2424
#define SQLITE_LIKE_DOESNT_MATCH_BLOBS 1
25-
#define SQLITE_DEFAULT_FOREIGN_KEYS 0
25+
#define SQLITE_DEFAULT_FOREIGN_KEYS 1
2626
#define SQLITE_DEFAULT_LOCKING_MODE 1
2727
#define SQLITE_DEFAULT_PAGE_SIZE 512
2828
#define SQLITE_DEFAULT_PCACHE_INITSZ 8
2929
#define SQLITE_MAX_DEFAULT_PAGE_SIZE 32768
3030
#define SQLITE_POWERSAFE_OVERWRITE 1
3131
#define SQLITE_MAX_EXPR_DEPTH 0
32+
#undef SQLITE_OMIT_FOREIGN_KEY
3233

3334
/*
3435
#undef SQLITE_OMIT_ALTERTABLE

0 commit comments

Comments
 (0)