forked from zopsmart/ezgo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zopsmart#3 | added filter, removed DS_Store, added pagination
- Loading branch information
Showing
11 changed files
with
223 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,5 @@ REDIS_HOST=localhost | |
|
||
DB_HOST=localhost | ||
DB_USER=root | ||
DB_PASSWORD=Bittu@1998 | ||
DB_PASSWORD=password | ||
DB_NAME=Hiring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
-- MySQL dump 10.13 Distrib 8.0.22, for macos10.15 (x86_64) | ||
-- | ||
-- Host: localhost Database: hiringPortal | ||
-- ------------------------------------------------------ | ||
-- Server version 8.0.23 | ||
|
||
/*!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 `companies` | ||
-- | ||
|
||
DROP TABLE IF EXISTS `companies`; | ||
/*!40101 SET @saved_cs_client = @@character_set_client */; | ||
/*!50503 SET character_set_client = utf8mb4 */; | ||
CREATE TABLE `companies` ( | ||
`id` int NOT NULL AUTO_INCREMENT, | ||
`name` varchar(45) NOT NULL, | ||
`description` varchar(45) DEFAULT NULL, | ||
`domain` varchar(45) NOT NULL, | ||
`email` varchar(45) NOT NULL, | ||
PRIMARY KEY (`id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; | ||
/*!40101 SET character_set_client = @saved_cs_client */; | ||
|
||
-- | ||
-- Dumping data for table `companies` | ||
-- | ||
|
||
LOCK TABLES `companies` WRITE; | ||
/*!40000 ALTER TABLE `companies` DISABLE KEYS */; | ||
/*!40000 ALTER TABLE `companies` ENABLE KEYS */; | ||
UNLOCK TABLES; | ||
|
||
-- | ||
-- Table structure for table `employees` | ||
-- | ||
|
||
DROP TABLE IF EXISTS `employees`; | ||
/*!40101 SET @saved_cs_client = @@character_set_client */; | ||
/*!50503 SET character_set_client = utf8mb4 */; | ||
CREATE TABLE `employees` ( | ||
`id` int NOT NULL AUTO_INCREMENT, | ||
`name` varchar(45) NOT NULL, | ||
`email` varchar(45) NOT NULL, | ||
`phone` bigint DEFAULT NULL, | ||
`designation` varchar(45) NOT NULL, | ||
`yoe` int NOT NULL DEFAULT '0', | ||
`company_id` int DEFAULT NULL, | ||
PRIMARY KEY (`id`), | ||
KEY `comapny_id_idx` (`company_id`), | ||
CONSTRAINT `company_id` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; | ||
/*!40101 SET character_set_client = @saved_cs_client */; | ||
|
||
-- | ||
-- Dumping data for table `employees` | ||
-- | ||
|
||
LOCK TABLES `employees` WRITE; | ||
/*!40000 ALTER TABLE `employees` DISABLE KEYS */; | ||
/*!40000 ALTER TABLE `employees` ENABLE KEYS */; | ||
UNLOCK TABLES; | ||
|
||
-- | ||
-- Table structure for table `skills` | ||
-- | ||
|
||
DROP TABLE IF EXISTS `skills`; | ||
/*!40101 SET @saved_cs_client = @@character_set_client */; | ||
/*!50503 SET character_set_client = utf8mb4 */; | ||
CREATE TABLE `skills` ( | ||
`id` int NOT NULL AUTO_INCREMENT, | ||
`name` varchar(45) NOT NULL, | ||
PRIMARY KEY (`id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; | ||
/*!40101 SET character_set_client = @saved_cs_client */; | ||
|
||
-- | ||
-- Dumping data for table `skills` | ||
-- | ||
|
||
LOCK TABLES `skills` WRITE; | ||
/*!40000 ALTER TABLE `skills` DISABLE KEYS */; | ||
/*!40000 ALTER TABLE `skills` ENABLE KEYS */; | ||
UNLOCK TABLES; | ||
|
||
-- | ||
-- Table structure for table `skillsEmployees` | ||
-- | ||
|
||
DROP TABLE IF EXISTS `skillsEmployees`; | ||
/*!40101 SET @saved_cs_client = @@character_set_client */; | ||
/*!50503 SET character_set_client = utf8mb4 */; | ||
CREATE TABLE `skillsEmployees` ( | ||
`employee_id` int NOT NULL, | ||
`skill_id` int NOT NULL, | ||
PRIMARY KEY (`employee_id`,`skill_id`), | ||
KEY `skill_id_idx` (`skill_id`), | ||
CONSTRAINT `employee_id` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`), | ||
CONSTRAINT `skill_id` FOREIGN KEY (`skill_id`) REFERENCES `skills` (`id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; | ||
/*!40101 SET character_set_client = @saved_cs_client */; | ||
|
||
-- | ||
-- Dumping data for table `skillsEmployees` | ||
-- | ||
|
||
LOCK TABLES `skillsEmployees` WRITE; | ||
/*!40000 ALTER TABLE `skillsEmployees` DISABLE KEYS */; | ||
/*!40000 ALTER TABLE `skillsEmployees` 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-02-12 16:03:51 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.