From eb5641ec06ca754945220b3274bb13e247f48fc3 Mon Sep 17 00:00:00 2001 From: Hany Date: Wed, 28 Aug 2024 08:37:23 +0900 Subject: [PATCH] chore: add clickhouse cloud example (#796) --- README.md | 1 + cmd/goose/main.go | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 041e99b..86b4302 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,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 685b29b..82fca3c 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: `