Skip to content

Commit

Permalink
Battery refactoringé
Browse files Browse the repository at this point in the history
  • Loading branch information
fbomj committed Oct 25, 2024
1 parent c2f1fa3 commit 2b2afd6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions files/update/7080.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
UNLOCK TABLES;

DROP TABLE `batteries`;

CREATE TABLE `batteries` (
`ID` int NOT NULL AUTO_INCREMENT,
`HARDWARE_ID` int NOT NULL,
`CHEMISTRY` varchar(20) DEFAULT NULL,
`CYCLES` int DEFAULT NULL,
`DESCRIPTION` varchar(10) DEFAULT "N/A",
`DESIGNCAPACITY` varchar(10) DEFAULT NULL,
`DESIGNVOLTAGE` varchar(20) DEFAULT NULL,
`ESTIMATEDCHARGEREMAINING` varchar(255) DEFAULT NULL,
`MANUFACTURER` varchar(255) DEFAULT NULL,
`NAME` varchar(255) DEFAULT NULL,
`SERIALNUMBER` varchar(255) DEFAULT NULL,
`STATUS` varchar(255) DEFAULT NULL,
PRIMARY KEY (`ID`),
KEY `HARDWARE_ID` (`HARDWARE_ID`),
KEY `NAME` (`NAME`),
KEY `MANUFACTURER` (`MANUFACTURER`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

0 comments on commit 2b2afd6

Please sign in to comment.