redshift url placeholder

This commit is contained in:
Jan Prochazka
2021-05-16 11:25:07 +02:00
parent 8bffa4a7dd
commit c95677bd83

View File

@@ -49,6 +49,7 @@ const redshiftDriver = {
engine: 'redshift@dbgate-plugin-postgres',
title: 'Amazon Redshift',
defaultPort: 5439,
databaseUrlPlaceholder: 'e.g. redshift-cluster-1.xxxx.redshift.amazonaws.com:5439/dev',
showConnectionField: (field, values) => ['databaseUrl', 'user', 'password'].includes(field),
beforeConnectionSave: connection => {
const { databaseUrl } = connection;