Skip to content

Commit

Permalink
Add coturn servers table
Browse files Browse the repository at this point in the history
  • Loading branch information
Brutus5000 committed Jun 23, 2022
1 parent bcd260a commit ff4cd0b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions migrations/V124__coturn_servers.sql
Original file line number Diff line number Diff line change
@@ -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';

0 comments on commit ff4cd0b

Please sign in to comment.