mirror of
https://github.com/supabase/supabase.git
synced 2026-10-12 21:05:06 +03:00
add tip to migration docs around lock_timeout
This commit is contained in:
1 parent
92a79d5156
commit
6a1982089c
1 file changed
+10
@@ -15,6 +15,16 @@ 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 you [`lock_timeout`](https://postgresqlco.nf/doc/en/param/lock_timeout/) setting:
|
||||
|
||||
```sql
|
||||
SET lock_timeout = '2min';
|
||||
```
|
||||
|
||||
</Admonition>
|
||||
|
||||
<StepHikeCompact>
|
||||
|
||||
<StepHikeCompact.Step step={1}>
|
||||
|
||||
Reference in new issue
Block a user