Skip to content

Commit 49f733f

Browse files
committed
addressed comment
1 parent 3ce2a30 commit 49f733f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clickhouse/migrations/schema_46_tags.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CREATE TABLE IF NOT EXISTS default.tags (
44
entity_id String,
55
tag String,
66
created_at DateTime DEFAULT now(),
7-
PRIMARY KEY (organization_id, entity_type, entity_id, tag)
7+
PRIMARY KEY (organization_id, entity_type)
88
) ENGINE = ReplacingMergeTree()
99
ORDER BY (organization_id, entity_type, entity_id, tag);
1010

0 commit comments

Comments
 (0)