diff --git a/syncapi/storage/postgres/send_to_device_table.go b/syncapi/storage/postgres/send_to_device_table.go index 07da77a6f..54b924ea9 100644 --- a/syncapi/storage/postgres/send_to_device_table.go +++ b/syncapi/storage/postgres/send_to_device_table.go @@ -32,8 +32,6 @@ CREATE SEQUENCE IF NOT EXISTS syncapi_send_to_device_id; CREATE TABLE IF NOT EXISTS syncapi_send_to_device ( -- The ID that uniquely identifies this message. 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. user_id TEXT NOT NULL, -- The device ID to send the message to. diff --git a/syncapi/storage/sqlite3/send_to_device_table.go b/syncapi/storage/sqlite3/send_to_device_table.go index 9fa742210..838ad0805 100644 --- a/syncapi/storage/sqlite3/send_to_device_table.go +++ b/syncapi/storage/sqlite3/send_to_device_table.go @@ -30,8 +30,6 @@ const sendToDeviceSchema = ` CREATE TABLE IF NOT EXISTS syncapi_send_to_device ( -- The ID that uniquely identifies this message. id INTEGER PRIMARY KEY AUTOINCREMENT, - -- The sender of the message. - sender TEXT NOT NULL, -- The user ID to send the message to. user_id TEXT NOT NULL, -- The device ID to send the message to.