-- --------------------------------------------------------
-- Host:                         127.0.0.1
-- Server version:               11.1.2-MariaDB - mariadb.org binary distribution
-- Server OS:                    Win64
-- HeidiSQL Version:             12.5.0.6710
-- --------------------------------------------------------

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!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 */;


-- Dumping database structure for emcor
CREATE DATABASE IF NOT EXISTS `emcor` /*!40100 DEFAULT CHARACTER SET utf8mb3 COLLATE utf8mb3_bin */;
USE `emcor`;

-- Dumping structure for table emcor.mlf
CREATE TABLE IF NOT EXISTS `mlf` (
  `mlf_id` tinyint(3) unsigned NOT NULL COMMENT 'Matavimų klasifikatoriaus lauko, naudojamo duomenų surinkime, identifikatorius',
  `mlf_code` varchar(30) NOT NULL COMMENT 'Matavimų klasifikatoriaus lauko, naudojamo duomenų surinkime, kodas',
  PRIMARY KEY (`mlf_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='Matavimų klasifikatoriaus laukai, naudojami duomenų surinkime';

-- Dumping data for table emcor.mlf: ~9 rows (approximately)
INSERT INTO `mlf` (`mlf_id`, `mlf_code`) VALUES
	(1, 'Env'),
	(2, 'Meas'),
	(3, 'Dir'),
	(4, 'Func'),
	(5, 'AggSg'),
	(6, 'TrNr'),
	(7, 'Phase'),
	(8, 'Scope'),
	(9, 'HrmNr');

/*!40103 SET TIME_ZONE=IFNULL(@OLD_TIME_ZONE, 'system') */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IFNULL(@OLD_FOREIGN_KEY_CHECKS, 1) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40111 SET SQL_NOTES=IFNULL(@OLD_SQL_NOTES, 1) */;
