mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-23 01:06:01 +00:00
redshift url placeholder
This commit is contained in:
@@ -49,6 +49,7 @@ const redshiftDriver = {
|
|||||||
engine: 'redshift@dbgate-plugin-postgres',
|
engine: 'redshift@dbgate-plugin-postgres',
|
||||||
title: 'Amazon Redshift',
|
title: 'Amazon Redshift',
|
||||||
defaultPort: 5439,
|
defaultPort: 5439,
|
||||||
|
databaseUrlPlaceholder: 'e.g. redshift-cluster-1.xxxx.redshift.amazonaws.com:5439/dev',
|
||||||
showConnectionField: (field, values) => ['databaseUrl', 'user', 'password'].includes(field),
|
showConnectionField: (field, values) => ['databaseUrl', 'user', 'password'].includes(field),
|
||||||
beforeConnectionSave: connection => {
|
beforeConnectionSave: connection => {
|
||||||
const { databaseUrl } = connection;
|
const { databaseUrl } = connection;
|
||||||
|
|||||||
Reference in New Issue
Block a user