mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 03:13:11 -06:00
Add CREATE SEQUENCE line in invites_table.go
This commit is contained in:
parent
145921f207
commit
dbb714e6c9
2
go.mod
2
go.mod
|
|
@ -65,3 +65,5 @@ require (
|
|||
gopkg.in/macaroon.v2 v2.1.0
|
||||
gopkg.in/yaml.v2 v2.2.2
|
||||
)
|
||||
|
||||
go 1.13
|
||||
|
|
|
|||
|
|
@ -9,6 +9,9 @@ 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