We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ce2a30 commit 49f733fCopy full SHA for 49f733f
clickhouse/migrations/schema_46_tags.sql
@@ -4,7 +4,7 @@ CREATE TABLE IF NOT EXISTS default.tags (
4
entity_id String,
5
tag String,
6
created_at DateTime DEFAULT now(),
7
- PRIMARY KEY (organization_id, entity_type, entity_id, tag)
+ PRIMARY KEY (organization_id, entity_type)
8
) ENGINE = ReplacingMergeTree()
9
ORDER BY (organization_id, entity_type, entity_id, tag);
10
0 commit comments