supabase-community / supabase-vscode-extension

Supabase Extension for VS Code and GitHub Copilot.
https://marketplace.visualstudio.com/items?itemName=Supabase.vscode-supabase-extension
MIT License
53 stars 5 forks source link

I can't find the schema for the database #21

Open ale24dev opened 2 months ago

ale24dev commented 2 months ago

Description

When running Supabase locally, and using the Copilot chat with the command @supabase How are you?, the response is:

🤔 I can’t find the schema for the database. Please check that supabase start is running.

This is unexpected since Supabase is indeed running locally.

To Reproduce

Steps to reproduce the behavior:

  1. Start Supabase locally using supabase start.
  2. Open the Copilot chat.
  3. Type @supabase How are you?.
  4. Observe the error message indicating that the schema cannot be found.

Expected behavior

I expected Copilot to interact with the database without any errors, especially since Supabase is confirmed to be running locally.

Screenshots

Screenshot 2024-08-13 at 12 02 02 AM

Screenshot 2024-08-13 at 12 19 00 AM

danvoyce commented 2 months ago

Getting the same issue... However selecting the Supabase tab and clicking Connect got things working

thorwebdev commented 2 months ago

Interesting, thanks for flagging, will investigate.