From ebb119aa901647d8fc81b9c6fbca68689edf91cc Mon Sep 17 00:00:00 2001 From: nymkappa Date: Sat, 13 Aug 2022 11:01:18 +0200 Subject: [PATCH] Add 'websocket' type to nodes sockets --- backend/src/api/database-migration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/api/database-migration.ts b/backend/src/api/database-migration.ts index 050829c5a..f3512248f 100644 --- a/backend/src/api/database-migration.ts +++ b/backend/src/api/database-migration.ts @@ -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;`;