Compare commits

...

2 Commits

1 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ migrate-template a wrapper for migration sources of library [golang-migrate/migr
```go
import (
template "github.com/FindMyKids/migrate-template"
template "github.com/mbk-lab/migrate-template"
"github.com/golang-migrate/migrate/v4"
"github.com/golang-migrate/migrate/v4/source"
)
@ -37,10 +37,10 @@ func main() {
Migration template using variables:
```sql
CREATE TABLE table_name ON CLUSTER {{cluster}} (
CREATE TABLE table_name ON CLUSTER {{.cluster}} (
foo Int64,
bar String
) ENGINE = ReplicatedReplacingMergeTree('{{replicated_path}}.table_name', '{replica}')
) ENGINE = ReplicatedReplacingMergeTree('{{.replicated_path}}.table_name', '{replica}')
```
Result: