mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 09:23:09 -06:00
Remove redundant 'primary key'
This commit is contained in:
parent
21d61e4112
commit
8903043a0d
|
|
@ -38,8 +38,6 @@ CREATE TABLE IF NOT EXISTS syncapi_account_data_type (
|
||||||
-- Type of the data
|
-- Type of the data
|
||||||
type TEXT NOT NULL,
|
type TEXT NOT NULL,
|
||||||
|
|
||||||
PRIMARY KEY(user_id, room_id, type),
|
|
||||||
|
|
||||||
-- We don't want two entries of the same type for the same user
|
-- We don't want two entries of the same type for the same user
|
||||||
CONSTRAINT syncapi_account_data_unique UNIQUE (user_id, room_id, type)
|
CONSTRAINT syncapi_account_data_unique UNIQUE (user_id, room_id, type)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue