Skip to content

Commit

Permalink
add: agent_version_semver to node_population primary key
Browse files Browse the repository at this point in the history
  • Loading branch information
dennis-tra committed Dec 16, 2024
1 parent 73a7ccf commit 24ecb48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrations/000003_create_node_population_table.up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ CREATE TABLE node_population (
agent_version_type LowCardinality(String),
agent_version_semver Array(Int16)
) ENGINE = AggregatingMergeTree()
PRIMARY KEY (timestamp, agent_version_type)
PRIMARY KEY (timestamp, agent_version_type, agent_version_semver)

0 comments on commit 24ecb48

Please sign in to comment.