Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

docs: Add tip to migration docs around lock_timeout (#39061)

TheOtherBrian19b621b94d704
diff --git a/apps/docs/content/guides/deployment/database-migrations.mdx b/apps/docs/content/guides/deployment/database-migrations.mdx
index c3816014366..3fd5cb5fd78 100644
--- a/apps/docs/content/guides/deployment/database-migrations.mdx
+++ b/apps/docs/content/guides/deployment/database-migrations.mdx
@@ -15,6 +15,12 @@ For this guide, we'll create a table called `employees` and see how we can make
You will need to [install](/docs/guides/local-development#quickstart) the Supabase CLI and start the local development stack.
+<Admonition type="tip">
+
+If a lock timeout error occurs, in your migration file, consider increasing your [`lock_timeout`](https://postgresqlco.nf/doc/en/param/lock_timeout/) setting.
+
+</Admonition>
+
<StepHikeCompact>
<StepHikeCompact.Step step={1}>