Skip to content

Commit 1ac7d7d

Browse files
committed
Extend primary key on attributes table
1 parent e209177 commit 1ac7d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/sqlite/db/migrations/000002_add_attributes_table.up.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ CREATE TABLE IF NOT EXISTS `attributes` (
33
`instance_id` TEXT NOT NULL,
44
`execution_id` TEXT NOT NULL,
55
`data` BLOB NOT NULL,
6-
PRIMARY KEY(`id`, `instance_id`)
6+
PRIMARY KEY(`id`, `instance_id`, `execution_id`)
77
);
88

99
-- Move activity attributes to attributes table

0 commit comments

Comments
 (0)