mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
Connection strings to be prefixed with postgresql:// instead of postgres:// (#27533)
This commit is contained in:
1 parent
ae8dafd0a4
commit
140fbebaee
1 file changed
+2
-2
+2
-2
@@ -90,7 +90,7 @@ export const constructConnStringSyntax = (
|
||||
if (selectedTab === 'uri' || selectedTab === 'nodejs') {
|
||||
if (isMd5) {
|
||||
return [
|
||||
{ value: 'postgres://', tooltip: undefined },
|
||||
{ value: 'postgresql://', tooltip: undefined },
|
||||
{ value: '[user]', tooltip: DB_USER_DESC },
|
||||
{ value: ':', tooltip: undefined },
|
||||
{ value: '[password]', tooltip: DB_PASS_DESC },
|
||||
@@ -109,7 +109,7 @@ export const constructConnStringSyntax = (
|
||||
]
|
||||
} else {
|
||||
return [
|
||||
{ value: 'postgres://', tooltip: undefined },
|
||||
{ value: 'postgresql://', tooltip: undefined },
|
||||
{ value: '[user]', tooltip: DB_USER_DESC },
|
||||
...(usePoolerConnection
|
||||
? [
|
||||
|
||||
Reference in new issue
Block a user