Ignore primary key conflicts in 'room_members'
This commit is contained in:
parent
3f05d983ae
commit
b2a097c6ae
|
@ -35,7 +35,7 @@ func (s sqlStore) CreateTables() error {
|
|||
room_id TEXT,
|
||||
user_id TEXT,
|
||||
|
||||
PRIMARY KEY (room_id, user_id)
|
||||
PRIMARY KEY (room_id, user_id) ON CONFLICT IGNORE
|
||||
);
|
||||
`,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue