-- --------------------------------------------------------
-- Host:                         109.106.254.1
-- Server version:               10.5.19-MariaDB-cll-lve - MariaDB Server
-- Server OS:                    Linux
-- HeidiSQL Version:             12.4.0.6659
-- --------------------------------------------------------

/*!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 structure for table u353443769_beis.nh_klients
CREATE TABLE IF NOT EXISTS `nh_klients` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `id_status` int(11) NOT NULL,
  `id_uznemejs` int(11) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Dumping data for table u353443769_beis.nh_klients: ~0 rows (approximately)

-- Dumping structure for table u353443769_beis.nh_login
CREATE TABLE IF NOT EXISTS `nh_login` (
  `ID` int(10) NOT NULL AUTO_INCREMENT,
  `username` varchar(50) DEFAULT NULL,
  `password` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Dumping data for table u353443769_beis.nh_login: ~0 rows (approximately)

-- Dumping structure for table u353443769_beis.nh_mervienibas
CREATE TABLE IF NOT EXISTS `nh_mervienibas` (
  `ID` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `mervieniba` varchar(50) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Dumping data for table u353443769_beis.nh_mervienibas: ~0 rows (approximately)

-- Dumping structure for table u353443769_beis.nh_noliktava
CREATE TABLE IF NOT EXISTS `nh_noliktava` (
  `ID` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `iz_date` date DEFAULT NULL,
  `pieg_date` date NOT NULL,
  `prece_id` int(11) NOT NULL,
  `prece` decimal(10,0) DEFAULT NULL,
  `daudzums` int(11) NOT NULL,
  `id_mer` int(11) NOT NULL,
  `id_obj` int(11) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Dumping data for table u353443769_beis.nh_noliktava: ~0 rows (approximately)

-- Dumping structure for table u353443769_beis.nh_objekts
CREATE TABLE IF NOT EXISTS `nh_objekts` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `objekts` varchar(50) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Dumping data for table u353443769_beis.nh_objekts: ~0 rows (approximately)

-- Dumping structure for table u353443769_beis.nh_prece
CREATE TABLE IF NOT EXISTS `nh_prece` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL,
  `serial` int(11) DEFAULT NULL,
  `inner` varchar(50) DEFAULT NULL,
  `outer` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Dumping data for table u353443769_beis.nh_prece: ~0 rows (approximately)

-- Dumping structure for table u353443769_beis.nh_status
CREATE TABLE IF NOT EXISTS `nh_status` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `status` varchar(50) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Dumping data for table u353443769_beis.nh_status: ~0 rows (approximately)

-- Dumping structure for table u353443769_beis.nh_uznemejs
CREATE TABLE IF NOT EXISTS `nh_uznemejs` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- Dumping data for table u353443769_beis.nh_uznemejs: ~0 rows (approximately)

/*!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) */;
