mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-17 20:03:10 -06:00
Add create sequence in invites_table.go in syncapi
This commit is contained in:
parent
37d117f2b7
commit
b8cfaad0f7
|
|
@ -25,6 +25,8 @@ import (
|
|||
)
|
||||
|
||||
const inviteEventsSchema = `
|
||||
-- This sequence is shared between all the tables generated from kafka logs.
|
||||
CREATE SEQUENCE IF NOT EXISTS syncapi_stream_id;
|
||||
CREATE TABLE IF NOT EXISTS syncapi_invite_events (
|
||||
id BIGINT PRIMARY KEY DEFAULT nextval('syncapi_stream_id'),
|
||||
event_id TEXT NOT NULL,
|
||||
|
|
|
|||
Loading…
Reference in a new issue