Skip to content

Commit 07049d8

Browse files
committed
Update primary key of container_log table to include period
1 parent 5b5d492 commit 07049d8

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
@@ -158,7 +158,7 @@ CREATE TABLE container_log (
158158
last_update bigint NOT NULL,
159159
`period` bigint unsigned NOT NULL,
160160

161-
PRIMARY KEY (container_id, pod_id)
161+
PRIMARY KEY (container_id, pod_id, period)
162162
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
163163

164164
CREATE TABLE deployment (

0 commit comments

Comments
 (0)