From ff4cd0b455c72ed1f6c8dece4cccdebc9c0c7bc2 Mon Sep 17 00:00:00 2001 From: Brutus5000 Date: Fri, 17 Jun 2022 21:23:50 +0200 Subject: [PATCH] Add coturn servers table --- migrations/V124__coturn_servers.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 migrations/V124__coturn_servers.sql diff --git a/migrations/V124__coturn_servers.sql b/migrations/V124__coturn_servers.sql new file mode 100644 index 00000000..ff701875 --- /dev/null +++ b/migrations/V124__coturn_servers.sql @@ -0,0 +1,13 @@ +create table coturn_servers +( + id int(11) unsigned not null auto_increment, + region varchar(20) not null comment 'Region of the server for simple user-based selection if latency checks don''t work', + host varchar(255) not null, + port mediumint default 3478 not null, + preshared_key varchar(255) not null comment 'Should be only accessible to clients with lobby scope.', + contact_email varchar(255) not null comment 'Email of the responsible server administrator', + active boolean default true not null, + PRIMARY KEY(id), + UNIQUE KEY `unique_host_port` (`host`, `port`) +) + comment 'List of coturn servers to be propagated to ICE adapters';