-- MariaDB dump 10.19  Distrib 10.10.2-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: localhost    Database: enphase
-- ------------------------------------------------------
-- Server version	10.10.2-MariaDB-1:10.10.2+maria~ubu2204

/*!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 utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!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 `production_eim`
--

DROP TABLE IF EXISTS `production_eim_test`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `production_eim_test` (
  `type` text NOT NULL,
  `activeCount` int(11) NOT NULL,
  `measurementType` text NOT NULL,
  `readingTime` datetime NOT NULL,
  `wNow` float NOT NULL,
  `whLifetime` float NOT NULL,
  `varhLeadLifetime` float NOT NULL,
  `varhLagLifetime` float NOT NULL,
  `vahLifetime` float NOT NULL,
  `rmsCurrent` float NOT NULL,
  `rmsVoltage` float NOT NULL,
  `reactPwr` float NOT NULL,
  `apprntPwr` float NOT NULL,
  `pwrFactor` float NOT NULL,
  `whToday` float NOT NULL,
  `whLastSevenDays` float NOT NULL,
  `vahToday` float NOT NULL,
  `varhLeadToday` float NOT NULL,
  `varhLagToday` float NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `production_eim`
--

LOCK TABLES `production_eim_test` WRITE;
/*!40000 ALTER TABLE `production_eim` DISABLE KEYS */;
/*!40000 ALTER TABLE `production_eim` ENABLE KEYS */;
UNLOCK TABLES;

