Skip to content

Commit 8a1d17c

Browse files
committed
First ESP Run
1 parent 6103a42 commit 8a1d17c

File tree

4 files changed

+481
-83
lines changed

4 files changed

+481
-83
lines changed

ArduLibTest_FirstESPRun.sql

+150
Large diffs are not rendered by default.

config/Tables.sql

+27-20
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
-- MariaDB dump 10.19 Distrib 10.5.15-MariaDB, for debian-linux-gnu (x86_64)
1+
-- MySQL dump 10.19 Distrib 10.3.38-MariaDB, for debian-linux-gnu (x86_64)
22
--
33
-- Host: localhost Database: ArduLibTest
44
-- ------------------------------------------------------
5-
-- Server version 10.5.15-MariaDB-0+deb11u1
5+
-- Server version 10.3.38-MariaDB-0+deb10u1
66

77
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
88
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
@@ -15,6 +15,24 @@
1515
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
1616
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
1717

18+
--
19+
-- Table structure for table `failedtests`
20+
--
21+
22+
DROP TABLE IF EXISTS `failedtests`;
23+
/*!40101 SET @saved_cs_client = @@character_set_client */;
24+
/*!40101 SET character_set_client = utf8 */;
25+
CREATE TABLE `failedtests` (
26+
`id` int(11) NOT NULL AUTO_INCREMENT,
27+
`library_id` int(11) NOT NULL,
28+
`examplesketch` varchar(255) NOT NULL,
29+
`platform_id` int(11) NOT NULL,
30+
`failtime` int(11) NOT NULL,
31+
`failtext` text NOT NULL,
32+
PRIMARY KEY (`id`)
33+
) ENGINE=InnoDB AUTO_INCREMENT=419 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
34+
/*!40101 SET character_set_client = @saved_cs_client */;
35+
1836
--
1937
-- Table structure for table `libs`
2038
--
@@ -33,9 +51,11 @@ CREATE TABLE `libs` (
3351
`lib_minprogspace` int(11) NOT NULL DEFAULT 0,
3452
`lib_mindynspace` int(11) NOT NULL DEFAULT 0,
3553
`lib_platform` int(3) NOT NULL,
54+
`lib_sentence` varchar(2048) DEFAULT NULL,
3655
PRIMARY KEY (`id`),
37-
UNIQUE KEY `UniqLibVer` (`lib_url`(255),`lib_version`) USING HASH
38-
) ENGINE=InnoDB AUTO_INCREMENT=29824 DEFAULT CHARSET=utf8mb4;
56+
UNIQUE KEY `uniq_repo` (`lib_url`(512)),
57+
UNIQUE KEY `UniqLibVer` (`lib_url`(255),`lib_version`)
58+
) ENGINE=InnoDB AUTO_INCREMENT=59650 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
3959
/*!40101 SET character_set_client = @saved_cs_client */;
4060

4161
--
@@ -53,7 +73,7 @@ CREATE TABLE `platform` (
5373
`platform_emptydyn` int(11) NOT NULL DEFAULT 0,
5474
PRIMARY KEY (`id`),
5575
UNIQUE KEY `uniq_pf` (`platform`)
56-
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
76+
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
5777
/*!40101 SET character_set_client = @saved_cs_client */;
5878

5979
--
@@ -73,7 +93,7 @@ CREATE TABLE `testresults` (
7393
`test_valid` int(1) NOT NULL DEFAULT 0,
7494
PRIMARY KEY (`id`),
7595
UNIQUE KEY `uniq_platform_example_test` (`lib_id`,`platform_id`,`example`)
76-
) ENGINE=InnoDB AUTO_INCREMENT=7394 DEFAULT CHARSET=utf8mb4;
96+
) ENGINE=InnoDB AUTO_INCREMENT=8519 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
7797
/*!40101 SET character_set_client = @saved_cs_client */;
7898
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
7999

@@ -85,17 +105,4 @@ CREATE TABLE `testresults` (
85105
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
86106
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
87107

88-
89-
90-
91-
LOCK TABLES `platform` WRITE;
92-
/*!40000 ALTER TABLE `platform` DISABLE KEYS */;
93-
INSERT INTO `platform` VALUES (1,'arduino:avr:micro','Arduino Micro',3462,149),(2,'esp32:esp32:d1_uno32','WEMOS D1 R32 - ESP32',0,0),(3,'esp8266:esp8266:d1_mini','LOLIN(WEMOS) D1 R2 & mini',0,0),(4,'esp32:esp32:lolin_s2_mini','LOLIN S2 Mini - ESP32-S2',0,0),(5,'esp32:esp32:lolin_s3','LOLIN S3 - ESP32-S3',0,0);
94-
/*!40000 ALTER TABLE `platform` ENABLE KEYS */;
95-
UNLOCK TABLES;
96-
97-
98-
99-
100-
101-
-- Dump completed on 2023-05-02 21:56:35
108+
-- Dump completed on 2023-05-06 13:23:12

0 commit comments

Comments
 (0)