-- MySQL dump 10.15  Distrib 10.0.20-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: localhost    Database: mkradius
-- ------------------------------------------------------
-- Server version	10.0.20-MariaDB-1~jessie

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `sis_adicional`
--

DROP TABLE IF EXISTS `sis_adicional`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sis_adicional` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `tipo` enum('hotspot','pppoe') NOT NULL DEFAULT 'hotspot',
  `username` varchar(64) DEFAULT NULL,
  `senha` varchar(32) DEFAULT NULL,
  `ip` varchar(15) DEFAULT NULL,
  `mac` varchar(17) DEFAULT NULL,
  `ramal` varchar(15) DEFAULT NULL,
  `chavetipo` varchar(10) DEFAULT NULL,
  `chave` varchar(255) DEFAULT NULL,
  `login` varchar(64) DEFAULT NULL,
  `plano` varchar(253) DEFAULT NULL,
  `simultaneo` enum('sim','nao') NOT NULL DEFAULT 'nao',
  `accesslist` enum('sim','nao') NOT NULL DEFAULT 'sim',
  `bloqueado` enum('sim','nao') DEFAULT 'nao',
  `telefone` varchar(23) DEFAULT NULL,
  `end_endereco` varchar(255) DEFAULT NULL,
  `end_numero` varchar(15) DEFAULT NULL,
  `end_complemento` varchar(127) DEFAULT NULL,
  `end_bairro` varchar(127) DEFAULT NULL,
  `end_cidade` varchar(63) DEFAULT NULL,
  `end_estado` varchar(8) DEFAULT NULL,
  `interface` varchar(128) DEFAULT NULL,
  `nome` varchar(128) DEFAULT NULL,
  `pool_name` varchar(30) DEFAULT 'nenhum',
  `pool6` varchar(48) DEFAULT NULL,
  `night` enum('sim','nao') DEFAULT 'nao',
  `coordenadas` varchar(64) DEFAULT NULL,
  `plano_bloqa` varchar(64) DEFAULT 'nenhum',
  `armario_olt` varchar(96) DEFAULT NULL,
  `porta_olt` varchar(32) DEFAULT NULL,
  `caixa_herm` varchar(128) DEFAULT NULL,
  `porta_splitter` varchar(32) DEFAULT NULL,
  `onu_ont` varchar(64) DEFAULT NULL,
  `switch` varchar(128) DEFAULT NULL,
  `uuid_adicional` varchar(48) DEFAULT NULL,
  `ipfall` varchar(32) DEFAULT NULL,
  `end_cep` varchar(16) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `username` (`username`),
  KEY `login` (`login`),
  KEY `ip` (`ip`),
  KEY `mac` (`mac`),
  KEY `accesslist` (`accesslist`),
  KEY `tipo` (`tipo`),
  KEY `senha` (`senha`),
  KEY `plano` (`plano`),
  KEY `interface` (`interface`),
  KEY `plano_bloqa` (`plano_bloqa`),
  KEY `uuid_adicional` (`uuid_adicional`)
) ENGINE=InnoDB AUTO_INCREMENT=171 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2025-10-21  7:37:21
