Add SQL repeaters table definition for MySQL support

This commit is contained in:
Simon 2020-10-31 23:39:41 +01:00
parent 956a584055
commit df8b0a60dc

25
repeaters.sql Normal file
View File

@ -0,0 +1,25 @@
CREATE TABLE `repeaters` (
`CALLSIGN` varchar(8) NOT NULL,
`MODE` varchar(8) NOT NULL,
`ENABLED` tinyint(1) NOT NULL,
`_REPEAT` tinyint(1) NOT NULL,
`MAX_PEERS` int(11) NOT NULL,
`EXPORT_AMBE` tinyint(1) NOT NULL,
`IP` varchar(255) DEFAULT NULL,
`PORT` int(11) NOT NULL,
`PASSPHRASE` varchar(255) NOT NULL,
`GROUP_HANGTIME` int(11) NOT NULL,
`USE_ACL` tinyint(1) NOT NULL,
`REG_ACL` varchar(255) NOT NULL,
`SUB_ACL` varchar(255) NOT NULL,
`TGID_TS1_ACL` varchar(255) NOT NULL,
`TGID_TS2_ACL` varchar(255) NOT NULL,
`DEFAULT_UA_TIMER` int(11) NOT NULL,
`SINGLE_MODE` tinyint(1) NOT NULL,
`VOICE_IDENT` tinyint(1) NOT NULL,
`TS1_STATIC` varchar(255) DEFAULT NULL,
`TS2_STATIC` varchar(255) DEFAULT NULL,
`DEFAULT_REFLECTOR` int(11) NOT NULL,
PRIMARY KEY (`CALLSIGN`),
KEY `PORT` (`PORT`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4`