text: -- MySQL dump 10.16  Distrib 10.3.9-MariaDB, for Win64 (AMD64)
  --
  -- Host: 127.0.0.1    Database: landlordcommunication
  -- ------------------------------------------------------
  -- Server version	10.3.9-MariaDB
  
  /*!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 utf8 */;
  /*!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 `usertoresidence`
  --
  
  DROP TABLE IF EXISTS `usertoresidence`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `usertoresidence` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `residence_id` int(11) NOT NULL,
    `user_id` int(11) NOT NULL,
    PRIMARY KEY (`id`),
    KEY `residence_id_idx` (`residence_id`),
    KEY `user_id_idx` (`user_id`),
    CONSTRAINT `residence_id` FOREIGN KEY (`residence_id`) REFERENCES `residences` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
    CONSTRAINT `user_id` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
  ) ENGINE=InnoDB AUTO_INCREMENT=64 DEFAULT CHARSET=utf8;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `usertoresidence`
  --
  
  LOCK TABLES `usertoresidence` WRITE;
  /*!40000 ALTER TABLE `usertoresidence` DISABLE KEYS */;
  INSERT INTO `usertoresidence` VALUES (29,25,13),(30,24,14),(31,23,16),(32,23,17),(33,22,20),(34,21,21),(35,20,22),(36,25,23),(37,24,19),(38,23,19),(39,22,15),(40,21,18),(41,20,18),(42,29,39),(43,30,39),(44,31,39),(45,29,24),(46,30,24),(47,29,25),(48,29,26),(49,29,27),(50,31,28),(51,31,29),(52,31,30),(53,31,31),(54,29,32),(55,29,33),(56,29,34),(57,29,35),(58,29,36),(59,29,37),(60,29,38),(61,30,27),(62,30,26),(63,30,38);
  /*!40000 ALTER TABLE `usertoresidence` ENABLE KEYS */;
  UNLOCK TABLES;
  /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  
  /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  
  -- Dump completed on 2018-11-12  2:05:33
  