You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you don't have a `./supabase` directory, you can create one:
29
+
30
+
```markdown
31
+
supabase init
32
+
```
33
+
34
+
</StepHikeCompact.Details>
35
+
</StepHikeCompact.Step>
36
+
37
+
<StepHikeCompact.Stepstep={2}>
38
+
<StepHikeCompact.Detailstitle="Pull your database migration"fullWidth>
39
+
40
+
Pull your database changes using `supabase db pull`. To get your database connection string, go to your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true) and look for the Session pooler connection string.
41
+
42
+
```markdown
43
+
supabase db pull --db-url <db_connection_string>
44
+
45
+
# Your Database connection string will look like this:
If you're in an [IPv6 environment](https://github.com/orgs/supabase/discussions/27034) or have the IPv4 Add-On, you can use the direct connection string instead of Supavisor in Session mode.
51
+
52
+
</Admonition>
53
+
54
+
</StepHikeCompact.Details>
55
+
</StepHikeCompact.Step>
56
+
57
+
<StepHikeCompact.Stepstep={3}>
58
+
<StepHikeCompact.Detailstitle="Commit the `supabase` directory to Git"fullWidth>
59
+
60
+
Commit the `supabase` directory to Git, and push your changes to your remote repository.
61
+
62
+
```bash
63
+
git add supabase
64
+
git commit -m "Initial migration"
65
+
git push
66
+
```
67
+
68
+
69
+
</StepHikeCompact.Details>
70
+
</StepHikeCompact.Step>
71
+
72
+
</StepHikeCompact>
73
+
20
74
## Syncing GitHub branches
21
75
22
76
Enable the **Automatic branching** option in your GitHub Integration configuration to automatically sync GitHub branches with Supabase branches.
0 commit comments