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