From 791fb992cb25794d013bdfa43e41952d8eeac6d6 Mon Sep 17 00:00:00 2001 From: Hany Rock Date: Sun, 21 Jul 2024 00:44:24 +0900 Subject: [PATCH] feat: add clickhouse cloud example --- README.md | 1 + cmd/goose/main.go | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index ef281fb6a..e41bf7a56 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,7 @@ Examples: GOOSE_DRIVER=postgres GOOSE_DBSTRING="user=postgres dbname=postgres sslmode=disable" goose status GOOSE_DRIVER=mysql GOOSE_DBSTRING="user:password@/dbname" goose status GOOSE_DRIVER=redshift GOOSE_DBSTRING="postgres://user:password@qwerty.us-east-1.redshift.amazonaws.com:5439/db" goose status + GOOSE_DRIVER=clickhouse GOOSE_DBSTRING="clickhouse://user:password@qwerty.clickhouse.cloud:9440/dbname?secure=true&skip_verify=false" goose status Options: diff --git a/cmd/goose/main.go b/cmd/goose/main.go index 685b29b5c..82fca3c10 100644 --- a/cmd/goose/main.go +++ b/cmd/goose/main.go @@ -277,6 +277,7 @@ Examples: GOOSE_DRIVER=mysql GOOSE_DBSTRING="user:password@/dbname" goose status GOOSE_DRIVER=redshift GOOSE_DBSTRING="postgres://user:password@qwerty.us-east-1.redshift.amazonaws.com:5439/db" goose status GOOSE_DRIVER=turso GOOSE_DBSTRING="libsql://dbname.turso.io?authToken=token" goose status + GOOSE_DRIVER=clickhouse GOOSE_DBSTRING="clickhouse://user:password@qwerty.clickhouse.cloud:9440/dbname?secure=true&skip_verify=false" goose status Options: `