drizzle-studio-npm icon indicating copy to clipboard operation
drizzle-studio-npm copied to clipboard

[Request]: Add support for Supabase Postgres

Open Aman-Singh-Kushwaha opened this issue 10 months ago • 0 comments

Getting Self-signed certificate in certificate chain error :

Error: self-signed certificate in certificate chain
    at Y (https://local.drizzle.studio/index.js:18825:60655)
    at async query (https://local.drizzle.studio/index.js:657:5749)
    at async Promise.all (index 0)
    at async bRt (https://local.drizzle.studio/index.js:546:44)
    at async pull (https://local.drizzle.studio/index.js:657:6308)

Here is local-storage.json for Error Context:

{
  "drizzle-version": "3.0.0",
  "drizzle-playground": {
    "state": {
      "currentFile": "sql",
      "drizzleValue": null,
      "sqlValue": "SELECT\n  *\nFROM\n  \"public\".\"embeddings\";",
      "showRecordsAsJson": false,
      "drizzleResult": "{\"json\":null}",
      "sqlResult": "{\"json\":{\"status\":\"error\",\"error\":\"Network Error\",\"records\":null,\"executionTime\":0,\"executionType\":\"LISTING\"}}"
    },
    "version": 0
  },
  "drizzle-global": {
    "state": {
      "showCounts": true,
      "flatSchemas": false,
      "dataFormats": null
    },
    "version": 0
  },
  "drizzle-db-c67801dcc833d577c7527d185b62777646676f7f8e3c18a60b0c13445b5e2c58": {
    "state": {
      "styleMode": "default",
      "currentPage": "main",
      "filterViews": {},
      "isSidebarOpen": true,
      "isShowSidebarContent": true,
      "filtersVisible": false,
      "sidebarWidth": 268,
      "currentSchemaName": null,
      "currentTable": null
    },
    "version": 1
  }
}

Supabase says : You cannot remove or disable the SSL certificate from your Supabase database, as it is managed by Supabase. The best approach is to ensure that your application is configured to properly handle the SSL certificates provided by Supabase.

Aman-Singh-Kushwaha avatar Jan 10 '25 11:01 Aman-Singh-Kushwaha