mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 10:33:11 -06:00
Create sequence
This commit is contained in:
parent
303155beba
commit
4445dd48c9
|
|
@ -26,6 +26,8 @@ import (
|
|||
)
|
||||
|
||||
const relationsSchema = `
|
||||
CREATE SEQUENCE IF NOT EXISTS syncapi_relation_id;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS syncapi_relations (
|
||||
id BIGINT PRIMARY KEY DEFAULT nextval('syncapi_relation_id'),
|
||||
room_id TEXT NOT NULL,
|
||||
|
|
|
|||
Loading…
Reference in a new issue