Изменил(а) на 'README.md'
parent
374cc6e7ee
commit
7743838258
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue