Add 'websocket' type to nodes sockets

This commit is contained in:
nymkappa committed 2022-08-13 11:01:46 +02:00
1 parent 3e9543f0b6
commit ebb119aa90
1 file changed
+1 -1
+1 -1
View File
@@ -757,7 +757,7 @@ class DatabaseMigration {
return `CREATE TABLE IF NOT EXISTS nodes_sockets (
public_key varchar(66) NOT NULL,
socket varchar(100) NOT NULL,
type enum('ipv4', 'ipv6', 'torv2', 'torv3', 'i2p', 'dns') NULL,
type enum('ipv4', 'ipv6', 'torv2', 'torv3', 'i2p', 'dns', 'websocket') NULL,
UNIQUE KEY public_key_socket (public_key, socket),
INDEX (public_key)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;`;