From f17ff7030941032778d2c4ca624b9660e7aa35c6 Mon Sep 17 00:00:00 2001 From: Jeff Jenkinson Date: Thu, 11 Sep 2025 18:14:33 +0200 Subject: [PATCH 1/2] Update Docs: Adding missing 'to' in NO ACTION and RESTRICT options (#38318) Adding missing'to' in NO ACTION and RESTRICT options --- apps/docs/content/guides/database/postgres/cascade-deletes.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/guides/database/postgres/cascade-deletes.mdx b/apps/docs/content/guides/database/postgres/cascade-deletes.mdx index cad764f94ddc9..a250cb473fc44 100644 --- a/apps/docs/content/guides/database/postgres/cascade-deletes.mdx +++ b/apps/docs/content/guides/database/postgres/cascade-deletes.mdx @@ -30,7 +30,7 @@ Both `NO ACTION` and `RESTRICT` are used to prevent deletion of a row in a paren When a foreign key constraint is defined with the option `RESTRICT`, it means that if a row in the parent table is deleted, the database will immediately raise an error and prevent the deletion of the row in the parent table. The database will not delete, update or set to NULL any rows in the referenced tables. -When a foreign key constraint is defined with the option `NO ACTION`, it means that if a row in the parent table is deleted, the database will also raise an error and prevent the deletion of the row in the parent table. However unlike `RESTRICT`, `NO ACTION` has the option defer the check using `INITIALLY DEFERRED`. This will only raise the above error _if_ the referenced rows still exist at the end of the transaction. +When a foreign key constraint is defined with the option `NO ACTION`, it means that if a row in the parent table is deleted, the database will also raise an error and prevent the deletion of the row in the parent table. However unlike `RESTRICT`, `NO ACTION` has the option to defer the check using `INITIALLY DEFERRED`. This will only raise the above error _if_ the referenced rows still exist at the end of the transaction. The difference from `RESTRICT` is that a constraint marked as `NO ACTION INITIALLY DEFERRED` is deferred until the end of the transaction, rather than running immediately. If, for example there is another foreign key constraint between the same tables marked as `CASCADE`, the cascade will occur first and delete the referenced rows, and no error will be thrown by the deferred constraint. Otherwise if there are still rows referencing the parent row by the end of the transaction, an error will be raised just like before. Just like `RESTRICT`, the database will not delete, update or set to NULL any rows in the referenced tables. From 262d05cca3c99c41f03e8df6a99311bada2f4d01 Mon Sep 17 00:00:00 2001 From: cwdott <36477596+cwdott@users.noreply.github.com> Date: Thu, 11 Sep 2025 12:22:16 -0400 Subject: [PATCH 2/2] Fix 404 link in Docs (#38287) Fix 404 link Existing link leads to a 404. Replaced with working link to intended page. Co-authored-by: Ziinc --- .../content/guides/getting-started/tutorials/with-nuxt-3.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/guides/getting-started/tutorials/with-nuxt-3.mdx b/apps/docs/content/guides/getting-started/tutorials/with-nuxt-3.mdx index 465d7cb35f95f..33a3bdca71ae5 100644 --- a/apps/docs/content/guides/getting-started/tutorials/with-nuxt-3.mdx +++ b/apps/docs/content/guides/getting-started/tutorials/with-nuxt-3.mdx @@ -122,7 +122,7 @@ const handleLogin = async () => { ### User state -To access the user information, use the composable [`useSupabaseUser`](https://supabase.nuxtjs.org/usage/composables/usesupabaseuser) provided by the Supabase Nuxt module. +To access the user information, use the composable [`useSupabaseUser`](https://supabase.nuxtjs.org/composables/usesupabaseuser) provided by the Supabase Nuxt module. ### Account component