mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-09 03:22:57 +01:00
Fix up schemas some more
This commit is contained in:
parent
d7a0496f3e
commit
0d0610870d
3 changed files with 3 additions and 3 deletions
|
@ -60,4 +60,4 @@ CREATE TABLE IF NOT EXISTS user_filters(
|
||||||
|
|
||||||
CREATE INDEX IF NOT EXISTS user_filters_by_user_id_filter_id ON user_filters(
|
CREATE INDEX IF NOT EXISTS user_filters_by_user_id_filter_id ON user_filters(
|
||||||
user_id, filter_id
|
user_id, filter_id
|
||||||
) ENGINE = INNODB;
|
);
|
||||||
|
|
|
@ -74,7 +74,7 @@ CREATE TABLE IF NOT EXISTS state_forward_extremities(
|
||||||
|
|
||||||
CREATE INDEX IF NOT EXISTS st_extrem_keys ON state_forward_extremities(
|
CREATE INDEX IF NOT EXISTS st_extrem_keys ON state_forward_extremities(
|
||||||
room_id, type, state_key
|
room_id, type, state_key
|
||||||
) ENGINE = INNODB;
|
);
|
||||||
CREATE INDEX IF NOT EXISTS st_extrem_id ON state_forward_extremities(event_id);
|
CREATE INDEX IF NOT EXISTS st_extrem_id ON state_forward_extremities(event_id);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ CREATE TABLE IF NOT EXISTS sent_transactions(
|
||||||
destination VARCHAR(255),
|
destination VARCHAR(255),
|
||||||
response_code INTEGER DEFAULT 0,
|
response_code INTEGER DEFAULT 0,
|
||||||
response_json BLOB,
|
response_json BLOB,
|
||||||
ts INTEGER
|
ts BIGINT
|
||||||
) ENGINE = INNODB;
|
) ENGINE = INNODB;
|
||||||
|
|
||||||
CREATE INDEX IF NOT EXISTS sent_transaction_dest ON sent_transactions(destination);
|
CREATE INDEX IF NOT EXISTS sent_transaction_dest ON sent_transactions(destination);
|
||||||
|
|
Loading…
Reference in a new issue