mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-20 05:13:11 -06:00
Fix schema
This commit is contained in:
parent
e4eba873f5
commit
544f3b0a61
|
|
@ -32,8 +32,6 @@ CREATE SEQUENCE IF NOT EXISTS syncapi_send_to_device_id;
|
||||||
CREATE TABLE IF NOT EXISTS syncapi_send_to_device (
|
CREATE TABLE IF NOT EXISTS syncapi_send_to_device (
|
||||||
-- The ID that uniquely identifies this message.
|
-- The ID that uniquely identifies this message.
|
||||||
id BIGINT PRIMARY KEY DEFAULT nextval('syncapi_send_to_device_id'),
|
id BIGINT PRIMARY KEY DEFAULT nextval('syncapi_send_to_device_id'),
|
||||||
-- The sender of the message.
|
|
||||||
sender TEXT NOT NULL,
|
|
||||||
-- The user ID to send the message to.
|
-- The user ID to send the message to.
|
||||||
user_id TEXT NOT NULL,
|
user_id TEXT NOT NULL,
|
||||||
-- The device ID to send the message to.
|
-- The device ID to send the message to.
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,6 @@ const sendToDeviceSchema = `
|
||||||
CREATE TABLE IF NOT EXISTS syncapi_send_to_device (
|
CREATE TABLE IF NOT EXISTS syncapi_send_to_device (
|
||||||
-- The ID that uniquely identifies this message.
|
-- The ID that uniquely identifies this message.
|
||||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||||
-- The sender of the message.
|
|
||||||
sender TEXT NOT NULL,
|
|
||||||
-- The user ID to send the message to.
|
-- The user ID to send the message to.
|
||||||
user_id TEXT NOT NULL,
|
user_id TEXT NOT NULL,
|
||||||
-- The device ID to send the message to.
|
-- The device ID to send the message to.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue