mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-11 16:13:10 -06:00
Add missing IF NOT EXISTS
This commit is contained in:
parent
e5ef9a2ead
commit
bdcd567f93
|
|
@ -26,7 +26,7 @@ import (
|
|||
)
|
||||
|
||||
const userRoomKeysSchema = `
|
||||
CREATE TABLE roomserver_user_room_keys (
|
||||
CREATE TABLE IF NOT EXISTS roomserver_user_room_keys (
|
||||
user_nid INTEGER NOT NULL,
|
||||
room_nid INTEGER NOT NULL,
|
||||
pseudo_id_key BYTEA NOT NULL,
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ import (
|
|||
)
|
||||
|
||||
const userRoomKeysSchema = `
|
||||
CREATE TABLE roomserver_user_room_keys (
|
||||
CREATE TABLE IF NOT EXISTS roomserver_user_room_keys (
|
||||
user_nid INTEGER NOT NULL,
|
||||
room_nid INTEGER NOT NULL,
|
||||
pseudo_id_key TEXT NOT NULL,
|
||||
|
|
|
|||
Loading…
Reference in a new issue