|
|
|
@ -1,188 +0,0 @@
|
|
|
|
|
-- MySQL dump 10.13 Distrib 8.0.21, for Win64 (x86_64)
|
|
|
|
|
--
|
|
|
|
|
-- Host: localhost Database: dmcdynamics
|
|
|
|
|
-- ------------------------------------------------------
|
|
|
|
|
-- Server version 8.0.21
|
|
|
|
|
|
|
|
|
|
/*!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 utf8mb4 */;
|
|
|
|
|
/*!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 `companyinfo`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `companyinfo`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
|
|
CREATE TABLE `companyinfo` (
|
|
|
|
|
`id` int NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`CompanyName` varchar(255) NOT NULL,
|
|
|
|
|
`PhoneNumber` varchar(20) NOT NULL,
|
|
|
|
|
`EmailAddress` varchar(100) NOT NULL,
|
|
|
|
|
`Address` varchar(255) NOT NULL,
|
|
|
|
|
`CompanySlogan` varchar(255) DEFAULT NULL,
|
|
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Dumping data for table `companyinfo`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
LOCK TABLES `companyinfo` WRITE;
|
|
|
|
|
/*!40000 ALTER TABLE `companyinfo` DISABLE KEYS */;
|
|
|
|
|
INSERT INTO `companyinfo` VALUES (1,'DMC Dynamics LLC','(224) 241-2285','jobs@dmcdynamics.llc','4600 Sycamore Ln, Rolling Meadows, IL 60008','Simple tech and personal service solutions that won\'t break the bank!');
|
|
|
|
|
/*!40000 ALTER TABLE `companyinfo` ENABLE KEYS */;
|
|
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `service-information`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `service-information`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
|
|
CREATE TABLE `service-information` (
|
|
|
|
|
`ServiceInformationID` int NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`ServiceID` int NOT NULL,
|
|
|
|
|
`ServiceDescription` text NOT NULL,
|
|
|
|
|
PRIMARY KEY (`ServiceInformationID`),
|
|
|
|
|
KEY `service_information_ServiceID_FK` (`ServiceID`),
|
|
|
|
|
CONSTRAINT `service_information_ServiceID_FK` FOREIGN KEY (`ServiceID`) REFERENCES `services` (`ServiceID`)
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Dumping data for table `service-information`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
LOCK TABLES `service-information` WRITE;
|
|
|
|
|
/*!40000 ALTER TABLE `service-information` DISABLE KEYS */;
|
|
|
|
|
INSERT INTO `service-information` VALUES (1,1,'Let me break it down for you; I have over 8 years of professional software development experience. I have worked in an enterprise setting on some of the most complex Windows desktop applications, server services, and Web APIs. I am confident that I will be able to fit the needs of your next project!');
|
|
|
|
|
/*!40000 ALTER TABLE `service-information` ENABLE KEYS */;
|
|
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Table structure for table `services`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `services`;
|
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
|
|
CREATE TABLE `services` (
|
|
|
|
|
`ServiceID` int NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`ServiceName` varchar(255) NOT NULL,
|
|
|
|
|
`ServiceTags` varchar(255) DEFAULT NULL,
|
|
|
|
|
`FontAwesomeIcon` varchar(50) NOT NULL,
|
|
|
|
|
`IsEnabled` bit(1) NOT NULL DEFAULT b'1',
|
|
|
|
|
PRIMARY KEY (`ServiceID`)
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Dumping data for table `services`
|
|
|
|
|
--
|
|
|
|
|
|
|
|
|
|
LOCK TABLES `services` WRITE;
|
|
|
|
|
/*!40000 ALTER TABLE `services` DISABLE KEYS */;
|
|
|
|
|
INSERT INTO `services` VALUES (1,'Software Development','C#, ASP.net, PHP','fa-file-code',_binary ''),(2,'Web Design & Hosting','','',_binary '\0'),(3,'Custom Computers Systems','Gaming, Servers','fa-tv',_binary ''),(4,'Resume Services','Updating, Creating','fa-file-word',_binary ''),(5,'VHS to DVD Conversion','','fa-compact-disc',_binary ''),(6,'Tech Consulting','Engineering','fa-user-tie',_binary '');
|
|
|
|
|
/*!40000 ALTER TABLE `services` ENABLE KEYS */;
|
|
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- Dumping routines for database 'dmcdynamics'
|
|
|
|
|
--
|
|
|
|
|
/*!50003 DROP PROCEDURE IF EXISTS `GetCompanyInfo` */;
|
|
|
|
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
|
|
|
|
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
|
|
|
|
|
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
|
|
|
|
|
/*!50003 SET character_set_client = utf8mb4 */ ;
|
|
|
|
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|
|
|
|
/*!50003 SET collation_connection = utf8mb4_general_ci */ ;
|
|
|
|
|
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
|
|
|
|
|
/*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION' */ ;
|
|
|
|
|
DELIMITER ;;
|
|
|
|
|
CREATE DEFINER=`root`@`localhost` PROCEDURE `GetCompanyInfo`()
|
|
|
|
|
begin
|
|
|
|
|
SELECT CompanyName,
|
|
|
|
|
PhoneNumber,
|
|
|
|
|
EmailAddress,
|
|
|
|
|
Address,
|
|
|
|
|
CompanySlogan
|
|
|
|
|
FROM `CompanyInfo`
|
|
|
|
|
LIMIT 1;
|
|
|
|
|
END ;;
|
|
|
|
|
DELIMITER ;
|
|
|
|
|
/*!50003 SET sql_mode = @saved_sql_mode */ ;
|
|
|
|
|
/*!50003 SET character_set_client = @saved_cs_client */ ;
|
|
|
|
|
/*!50003 SET character_set_results = @saved_cs_results */ ;
|
|
|
|
|
/*!50003 SET collation_connection = @saved_col_connection */ ;
|
|
|
|
|
/*!50003 DROP PROCEDURE IF EXISTS `GetServices` */;
|
|
|
|
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
|
|
|
|
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
|
|
|
|
|
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
|
|
|
|
|
/*!50003 SET character_set_client = utf8mb4 */ ;
|
|
|
|
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|
|
|
|
/*!50003 SET collation_connection = utf8mb4_general_ci */ ;
|
|
|
|
|
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
|
|
|
|
|
/*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION' */ ;
|
|
|
|
|
DELIMITER ;;
|
|
|
|
|
CREATE DEFINER=`root`@`localhost` PROCEDURE `GetServices`()
|
|
|
|
|
begin
|
|
|
|
|
SELECT ServiceID,
|
|
|
|
|
ServiceName,
|
|
|
|
|
ServiceTags,
|
|
|
|
|
FontAwesomeIcon,
|
|
|
|
|
IsEnabled
|
|
|
|
|
FROM `Services`
|
|
|
|
|
WHERE IsEnabled = 1;
|
|
|
|
|
END ;;
|
|
|
|
|
DELIMITER ;
|
|
|
|
|
/*!50003 SET sql_mode = @saved_sql_mode */ ;
|
|
|
|
|
/*!50003 SET character_set_client = @saved_cs_client */ ;
|
|
|
|
|
/*!50003 SET character_set_results = @saved_cs_results */ ;
|
|
|
|
|
/*!50003 SET collation_connection = @saved_col_connection */ ;
|
|
|
|
|
/*!50003 DROP PROCEDURE IF EXISTS `ServiceInformation_SelectOne` */;
|
|
|
|
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
|
|
|
|
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
|
|
|
|
|
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
|
|
|
|
|
/*!50003 SET character_set_client = utf8mb4 */ ;
|
|
|
|
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|
|
|
|
/*!50003 SET collation_connection = utf8mb4_0900_ai_ci */ ;
|
|
|
|
|
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
|
|
|
|
|
/*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION' */ ;
|
|
|
|
|
DELIMITER ;;
|
|
|
|
|
CREATE DEFINER=`root`@`localhost` PROCEDURE `ServiceInformation_SelectOne`(
|
|
|
|
|
IN ID INT
|
|
|
|
|
)
|
|
|
|
|
BEGIN
|
|
|
|
|
SELECT ServiceInformationID,
|
|
|
|
|
ServiceID,
|
|
|
|
|
ServiceDescription
|
|
|
|
|
FROM `dmcdynamics`.`service-information`
|
|
|
|
|
WHERE ServiceID = ID;
|
|
|
|
|
END ;;
|
|
|
|
|
DELIMITER ;
|
|
|
|
|
/*!50003 SET sql_mode = @saved_sql_mode */ ;
|
|
|
|
|
/*!50003 SET character_set_client = @saved_cs_client */ ;
|
|
|
|
|
/*!50003 SET character_set_results = @saved_cs_results */ ;
|
|
|
|
|
/*!50003 SET collation_connection = @saved_col_connection */ ;
|
|
|
|
|
/*!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 2020-09-16 22:43:51
|