mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-09-18 12:04:47 -04:00
Fix bug where we clobbered old state group values
This commit is contained in:
parent
cabead6194
commit
1d2a0040cf
3 changed files with 13 additions and 2 deletions
|
@ -29,7 +29,8 @@ CREATE TABLE IF NOT EXISTS state_groups_state(
|
|||
|
||||
CREATE TABLE IF NOT EXISTS event_to_state_groups(
|
||||
event_id TEXT NOT NULL,
|
||||
state_group INTEGER NOT NULL
|
||||
state_group INTEGER NOT NULL,
|
||||
CONSTRAINT event_to_state_groups_uniq UNIQUE (event_id)
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS state_groups_id ON state_groups(id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue