auto: agent DB backup 20260715
This commit is contained in:
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -0,0 +1,121 @@
|
||||
-- MySQL dump 10.13 Distrib 8.4.10, for Linux (x86_64)
|
||||
--
|
||||
-- Host: localhost Database: resume
|
||||
-- ------------------------------------------------------
|
||||
-- Server version 8.4.10
|
||||
|
||||
/*!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 `career_advice`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `career_advice`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `career_advice` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`topic` varchar(255) NOT NULL,
|
||||
`advice` text,
|
||||
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
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 `career_advice`
|
||||
--
|
||||
|
||||
LOCK TABLES `career_advice` WRITE;
|
||||
/*!40000 ALTER TABLE `career_advice` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `career_advice` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `interviews`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `interviews`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `interviews` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`resume_id` int DEFAULT NULL,
|
||||
`company` varchar(255) DEFAULT NULL,
|
||||
`position` varchar(255) DEFAULT NULL,
|
||||
`interview_date` datetime DEFAULT NULL,
|
||||
`feedback` text,
|
||||
`preparation_notes` text,
|
||||
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `resume_id` (`resume_id`),
|
||||
CONSTRAINT `interviews_ibfk_1` FOREIGN KEY (`resume_id`) REFERENCES `resumes` (`id`) ON DELETE SET NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `interviews`
|
||||
--
|
||||
|
||||
LOCK TABLES `interviews` WRITE;
|
||||
/*!40000 ALTER TABLE `interviews` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `interviews` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `resumes`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `resumes`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `resumes` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(128) NOT NULL,
|
||||
`file_path` varchar(512) DEFAULT NULL,
|
||||
`original_text` longtext,
|
||||
`analysis` text,
|
||||
`strengths` text,
|
||||
`weaknesses` text,
|
||||
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
`updated_at` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
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 `resumes`
|
||||
--
|
||||
|
||||
LOCK TABLES `resumes` WRITE;
|
||||
/*!40000 ALTER TABLE `resumes` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `resumes` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Dumping events for database 'resume'
|
||||
--
|
||||
|
||||
--
|
||||
-- Dumping routines for database 'resume'
|
||||
--
|
||||
/*!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 2026-07-15 1:55:07
|
||||
Binary file not shown.
@@ -0,0 +1,128 @@
|
||||
-- MySQL dump 10.13 Distrib 8.4.10, for Linux (x86_64)
|
||||
--
|
||||
-- Host: localhost Database: travel
|
||||
-- ------------------------------------------------------
|
||||
-- Server version 8.4.10
|
||||
|
||||
/*!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 `destinations`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `destinations`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `destinations` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(255) NOT NULL,
|
||||
`country` varchar(128) DEFAULT NULL,
|
||||
`best_season` varchar(64) DEFAULT NULL,
|
||||
`tips` text,
|
||||
`rating` tinyint DEFAULT NULL,
|
||||
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
CONSTRAINT `destinations_chk_1` CHECK (((`rating` >= 1) and (`rating` <= 10)))
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `destinations`
|
||||
--
|
||||
|
||||
LOCK TABLES `destinations` WRITE;
|
||||
/*!40000 ALTER TABLE `destinations` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `destinations` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `itineraries`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `itineraries`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `itineraries` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`trip_id` int DEFAULT NULL,
|
||||
`day_number` int DEFAULT NULL,
|
||||
`activity_date` date DEFAULT NULL,
|
||||
`location` varchar(255) DEFAULT NULL,
|
||||
`activities` text,
|
||||
`accommodation` varchar(255) DEFAULT NULL,
|
||||
`transport` varchar(255) DEFAULT NULL,
|
||||
`notes` text,
|
||||
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `trip_id` (`trip_id`),
|
||||
CONSTRAINT `itineraries_ibfk_1` FOREIGN KEY (`trip_id`) REFERENCES `trips` (`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `itineraries`
|
||||
--
|
||||
|
||||
LOCK TABLES `itineraries` WRITE;
|
||||
/*!40000 ALTER TABLE `itineraries` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `itineraries` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `trips`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `trips`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `trips` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`title` varchar(255) NOT NULL,
|
||||
`destination` varchar(255) NOT NULL,
|
||||
`start_date` date DEFAULT NULL,
|
||||
`end_date` date DEFAULT NULL,
|
||||
`budget` decimal(12,2) DEFAULT NULL,
|
||||
`status` enum('planning','confirmed','in_progress','completed','cancelled') DEFAULT 'planning',
|
||||
`notes` text,
|
||||
`created_at` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
`updated_at` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
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 `trips`
|
||||
--
|
||||
|
||||
LOCK TABLES `trips` WRITE;
|
||||
/*!40000 ALTER TABLE `trips` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `trips` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Dumping events for database 'travel'
|
||||
--
|
||||
|
||||
--
|
||||
-- Dumping routines for database 'travel'
|
||||
--
|
||||
/*!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 2026-07-15 1:55:07
|
||||
Reference in New Issue
Block a user