Add support for ON CLUSTER
in Clickhouse while creating table
#7349
Labels
type:feature_request
feature request
ON CLUSTER
in Clickhouse while creating table
#7349
Describe the feature
Right now, gorm support AutoMigrate for clickhouse along with creating a table if it does not currently exists. But it cannot create cluster tables
Motivation
Although it is not an issue for development environments, while deploying to production most tables would be replicated.
The
gorm:table_options
appends values to the create table command. But in clickhouse theON CLUSTER
should be along with the create table command before the attributes and options are definedWhat gorm does
What it is supposed to do
Code
Related Issues
The text was updated successfully, but these errors were encountered: