mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-29 01:33:10 -06:00
Make displayname non null
This commit is contained in:
parent
fb9c14de55
commit
cfeabb0662
|
|
@ -61,7 +61,7 @@ CREATE TABLE IF NOT EXISTS roomserver_membership (
|
|||
-- room joins.
|
||||
target_local BOOLEAN NOT NULL DEFAULT false,
|
||||
forgotten BOOLEAN NOT NULL DEFAULT FALSE,
|
||||
displayname TEXT,
|
||||
displayname TEXT NOT NULL DEFAULT "",
|
||||
UNIQUE (room_nid, target_nid)
|
||||
);
|
||||
`
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ const membershipSchema = `
|
|||
event_nid INTEGER NOT NULL DEFAULT 0,
|
||||
target_local BOOLEAN NOT NULL DEFAULT false,
|
||||
forgotten BOOLEAN NOT NULL DEFAULT false,
|
||||
displayname TEXT,
|
||||
displayname TEXT NOT NULL DEFAULT "",
|
||||
UNIQUE (room_nid, target_nid)
|
||||
);
|
||||
`
|
||||
|
|
|
|||
Loading…
Reference in a new issue