Hard to tell which remote supabase is linked
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 68/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- postgresql, typescript
調査の方向性
まず、supabase db info --linked、supabase db reset --linked、supabase db push --linked の CLI エントリーポイントを追跡し、次にリンクされたプロジェクトのメタデータがどのように取得されるかを調べます。指定されたコマンドまたは関連する確認プロンプトで、リンクされたインスタンスの URL と名前が明確に表示され、その表示された識別情報をカバーするテストがあれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- TypeScript
- スター
- 2.4k
- フォーク
- 523
- 平均マージ
- 20時間 47分
- マージ済み PR(30日)
- 243
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
supabase/cli のほかの issue
-
🐛 Bug supabase/cli
-
🐛 Bug supabase/cli
-
🐛 Bug supabase/cli
-
Local Kong keeps idle upstream connections longer than PostgREST, causing sporadic 502 on POST/PATCH オープン🐛 Bug supabase/cli
-
✨ Feature supabase/cli
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
calcite-components needs triage refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Esri/calcite-design-system#15203 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
danielmiessler/LifeOS#2218 ·