Skip to content

Commit 3169972

Browse files
support SQLite foreign keys (#9803)
1 parent 6d7a00b commit 3169972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,7 @@ You may enable or disable foreign key constraints within your migrations by usin
12281228
});
12291229

12301230
> [!WARNING]
1231-
> SQLite disables foreign key constraints by default. When using SQLite, make sure to [enable foreign key support](/docs/{{version}}/database#configuration) in your database configuration before attempting to create them in your migrations. In addition, SQLite only supports foreign keys upon creation of the table and [not when tables are altered](https://www.sqlite.org/omitted.html).
1231+
> SQLite disables foreign key constraints by default. When using SQLite, make sure to [enable foreign key support](/docs/{{version}}/database#configuration) in your database configuration before attempting to create them in your migrations.
12321232
12331233
<a name="events"></a>
12341234
## Events

0 commit comments

Comments
 (0)