Add devices table to database

This commit is contained in:
Junior 2025-03-09 20:35:13 -04:00
parent fd67d36768
commit 95aa3bc7c4

View File

@ -15,6 +15,24 @@
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `devices`
--
DROP TABLE IF EXISTS `devices`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
CREATE TABLE `devices` (
`mac` varchar(20) NOT NULL,
`ipaddress` varchar(20) NOT NULL,
`label` varchar(255) NOT NULL DEFAULT '',
`board` varchar(255) NOT NULL DEFAULT '',
`lastupdate` datetime NOT NULL,
PRIMARY KEY (`mac`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `patterncolors`
--