Hard to tell which remote supabase is linked
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- postgresql, typescript
Research direction
Start by tracing the CLI entry points for supabase db info --linked, supabase db reset --linked, and supabase db push --linked, then inspect how linked project metadata is obtained. Done means the linked instance's URL and name are clearly shown for the requested command or relevant confirmation prompt, with tests covering the displayed identity.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
When I run npx supabase db reset --linked I want to be sure I'm currently linked to my staging instance and not production. Otherwise I risk accidentally torching the wrong database.
Describe the solution you'd like
Add the command supabase db info --linked which prints the currently linked instance's URL and name.
Describe alternatives you've considered
I've used npx supabase link to relink the project (but for example I have 3 projects show up when I run that so just running that and aborting doesn't give me confidence in an answer).
I've also used npx supabase db push --linked to differentiate staging from production (when I expect a difference in which migrations have run on my instances).
Additional context
Maybe npx supabase db reset --linked should print the remote databases URL or name instead of just saying "Do you want to reset the remote database? [y/N]"
And ditto for npx supabase db push --linked
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 526
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 293
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from supabase/cli
-
✨ Feature supabase/cli
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Maintainers usually reply within 1 day
-
bug supabase/cli
Difficulty 3/5 1-2 days Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
test new accepts parent-directory names and creates files outside supabase/testsPossibly taken @7ttp claimed this 3 days ago. Open🐛 Bug supabase/cli
supabase/cli#6742 · 1 assignee ·
Maintainers usually reply within 1 day
-
🐛 Bug supabase/cli
Difficulty 3/5 1-2 days Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Go conserva el fallo de orden de versiones corregido en TypeScript por #6038Possibly taken @7ttp claimed this 5 days ago. Open🐛 Bug supabase/cli
supabase/cli#6682 · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
opengovsg/FormSG#10118 · 1 comment ·
Maintainers usually reply within 1 day
-
ai-driven-qa bug claude
Difficulty 1/5 Under an hour Newbie friendliness 75/100
linagora/twake-calendar-frontend#1434 · 1 comment ·
Maintainers usually reply within 1 day
-
check:passed streams:add
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
iptv-org/iptv#52824 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 Half a day Newbie friendliness 78/100
jaegertracing/jaeger-ui#4512 ·
Maintainers usually reply within 1 day
-
area:ide documentation enhancement platform:macos platform:vscode
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
anthropics/claude-code#97389 ·
Maintainers usually reply within 1 day