Skip to content

Commit dd14392

Browse files
committed
Fixing boolean typo.
1 parent b3e5660 commit dd14392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/d1/sql-api/foreign-keys.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ ALTER TABLE users ...
3737
PRAGMA defer_foreign_keys = off
3838
```
3939

40-
You can also explicitly set `PRAGMA defer_foreign_keys = on` immediately after you have resolved outstanding foreign key constraints. If there are still outstanding foreign key constraints, you will receive a `FOREIGN KEY constraint failed` error and will need to resolve the violation.
40+
You can also explicitly set `PRAGMA defer_foreign_keys = off` immediately after you have resolved outstanding foreign key constraints. If there are still outstanding foreign key constraints, you will receive a `FOREIGN KEY constraint failed` error and will need to resolve the violation.
4141

4242
## Define a foreign key relationship
4343

0 commit comments

Comments
 (0)