Ignore primary key conflicts in 'room_members'

This commit is contained in:
Luca 2022-07-24 22:09:24 +02:00
parent 3f05d983ae
commit b2a097c6ae
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ func (s sqlStore) CreateTables() error {
room_id TEXT, room_id TEXT,
user_id TEXT, user_id TEXT,
PRIMARY KEY (room_id, user_id) PRIMARY KEY (room_id, user_id) ON CONFLICT IGNORE
); );
`, `,
} }