text: -- MySQL dump 10.13  Distrib 8.0.25, for Win64 (x86_64)
  --
  -- Host: 127.0.0.1    Database: assetmanagement
  -- ------------------------------------------------------
  -- Server version	8.0.25
  
  /*!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 */;
  /*!50503 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 `location`
  --
  
  DROP TABLE IF EXISTS `location`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!50503 SET character_set_client = utf8mb4 */;
  CREATE TABLE `location` (
    `location_id` smallint NOT NULL,
    `name` varchar(30) NOT NULL,
    `description` varchar(100) DEFAULT NULL,
    `address1` varchar(50) NOT NULL,
    `address2` varchar(50) DEFAULT NULL,
    `city` varchar(20) NOT NULL,
    `province` varchar(2) NOT NULL,
    `postal_code` varchar(10) NOT NULL,
    `department` varchar(20) DEFAULT NULL,
    `phone` varchar(20) NOT NULL,
    `municipality_id` smallint NOT NULL,
    `last_mod_by` varchar(45) NOT NULL,
    `last_mod_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
    `created_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
    PRIMARY KEY (`location_id`),
    KEY `fk_municipality_id_idx` (`municipality_id`),
    CONSTRAINT `fk_municipality_id` FOREIGN KEY (`municipality_id`) REFERENCES `municipality` (`municipality_id`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='Stores location details';
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `location`
  --
  
  LOCK TABLES `location` WRITE;
  /*!40000 ALTER TABLE `location` DISABLE KEYS */;
  INSERT INTO `location` VALUES (1,'Town of Saugeen Shores','Town of Saugeen Shores','600 Tomlinson Drive',NULL,'Port Elgin','ON','N0H 2C0','IT Ops','519-832-2008',6,'dba','2021-06-21 15:54:26','2021-07-12 20:06:02'),(2,'The Municipality of Kincardine','The Municipality of Kincardine','1475 Concession 5','R.R. #5','Kincardine','ON','N2Z 2X6','Town services','519-396-3468',1,'dba','2021-06-21 16:23:27','2021-07-12 20:06:02');
  /*!40000 ALTER TABLE `location` 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 2021-07-16 15:33:21
  