Skip to content

Commit 2531224

Browse files
OxyjunRebeccaTamachiro
authored andcommitted
Fixing boolean typo. (#21704)
1 parent a2698e4 commit 2531224

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)