Commit 99bb3738 authored by Martin Mareš's avatar Martin Mareš
Browse files

DB: Zoom stealthily switched to longer meetingd IDs

parent e9e807b0
......@@ -7,7 +7,7 @@ CREATE TABLE zoom_users (
CREATE TABLE zoom_meetings (
mid serial PRIMARY KEY,
meeting_id int UNIQUE NOT NULL, -- Zoom's meeting ID
meeting_id bigint UNIQUE NOT NULL, -- Zoom's meeting ID
uuid varchar(255) NOT NULL, -- Zoom's meeting instance ID
host_uid int NOT NULL REFERENCES zoom_users(uid) ON DELETE CASCADE,
topic varchar(255) DEFAULT '',
......@@ -16,7 +16,7 @@ CREATE TABLE zoom_meetings (
CREATE TABLE zoom_schedule (
id serial PRIMARY KEY,
mid int NOT NULL REFERENCES zoom_meetings(mid) ON DELETE CASCADE,
mid bigint NOT NULL REFERENCES zoom_meetings(mid) ON DELETE CASCADE,
occurrence_id bigint DEFAULT 0, -- Occurrence for recurring meetings, 0 otherwise
start_time timestamp NOT NULL,
duration int NOT NULL, -- minutes
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment