Skip to content

Commit beeba82

Browse files
committed
Update primary key of container_log table to include period
1 parent 1148e2a commit beeba82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schema/mysql/schema.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ CREATE TABLE container_log (
173173
last_update bigint NOT NULL,
174174
`period` bigint unsigned NOT NULL,
175175

176-
PRIMARY KEY (container_uuid, pod_uuid)
176+
PRIMARY KEY (container_uuid, pod_uuid, period)
177177
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
178178

179179
CREATE TABLE deployment (

0 commit comments

Comments
 (0)