Format sql [SKIP CI]
parent
e0d3293eb7
commit
6907681c75
|
@ -18,7 +18,7 @@ CREATE TABLE IF NOT EXISTS "conversation" (
|
||||||
CREATE TABLE IF NOT EXISTS member (
|
CREATE TABLE IF NOT EXISTS member (
|
||||||
"user" BYTEA REFERENCES "user"(id),
|
"user" BYTEA REFERENCES "user"(id),
|
||||||
"conversation" BYTEA REFERENCES "conversation"(id),
|
"conversation" BYTEA REFERENCES "conversation"(id),
|
||||||
"pinned" BOOLEAN DEFAULT FALSE,
|
"pinned" BOOLEAN DEFAULT FALSE,
|
||||||
UNIQUE ("user", "conversation")
|
UNIQUE ("user", "conversation")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue