-- --------------------------------------------------------
-- Host:                         127.0.0.1
-- Server version:               5.7.17-log - MySQL Community Server (GPL)
-- Server OS:                    Win64
-- HeidiSQL Version:             12.6.0.6765
-- --------------------------------------------------------

/*!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 ss knockoff.renov
CREATE TABLE IF NOT EXISTS `renov` (
  `renov_id` int(11) DEFAULT NULL,
  `renov_tips` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Dumping data for table ss knockoff.renov: ~0 rows (approximately)

-- Dumping structure for table ss knockoff.sludinajums
CREATE TABLE IF NOT EXISTS `sludinajums` (
  `id` int(11) NOT NULL,
  `title` varchar(50) DEFAULT NULL,
  `price` varchar(50) DEFAULT NULL,
  `address` varchar(50) DEFAULT NULL,
  `size` int(11) DEFAULT NULL,
  `renov` varchar(50) DEFAULT NULL,
  `fullprice` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Dumping data for table ss knockoff.sludinajums: ~5 rows (approximately)
INSERT INTO `sludinajums` (`id`, `title`, `price`, `address`, `size`, `renov`, `fullprice`) VALUES
	(1, 'Pārdodu 2 stāvu plašu', '2,000 €', 'Zaļā 7', 132, 'Renov.', '2,640,000 €'),
	(2, 'Izīrēju 2-istabu dzīvokli', '10 €', 'Miera 86', 57, 'Renov.', '570 €/mēn.'),
	(3, 'Investīciju dzīvoklis centrā', '775,51 €/mēn.', 'Dzirnavu 157', 49, 'P. kara', '38 000 €'),
	(4, 'Klusajā centrā, tiek pārdots', '2,124 €', 'Ausekļa 3', 129, 'P. kara', '274,000 €'),
	(8, 'Example Title', '100.00', 'Example Address', 50, 'Example Renov', '120.00');

-- Dumping structure for table ss knockoff.sludinajum_renov
CREATE TABLE IF NOT EXISTS `sludinajum_renov` (
  `slud_id` int(11) DEFAULT NULL,
  `renov_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Dumping data for table ss knockoff.sludinajum_renov: ~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) */;
