You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the automigrator runs, it sends the following SQL statement to the clickhouse DB.
CREATETABLE `costs`(`infra_id` String,`timestamp` DateTime64(3),`hourly_cost` String ) ENGINE=MergeTree() ORDER BY tuple()
As you can see, for some reason, it doesn't send any information about the primary keys. I have verified that it actually doesn't create any primary keys on the DB too. Why might this be happening?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi.
I am trying to create a table in the clickhouse database using gorm's auto migrator. I have defined the struct as below:
When the automigrator runs, it sends the following SQL statement to the clickhouse DB.
As you can see, for some reason, it doesn't send any information about the primary keys. I have verified that it actually doesn't create any primary keys on the DB too. Why might this be happening?
Thanks.
The text was updated successfully, but these errors were encountered: