-- MySQL dump 10.13  Distrib 8.0.36, for macos14 (x86_64)
--
-- Host: 127.0.0.1    Database: fareharbor_papershift
-- ------------------------------------------------------
-- Server version	9.0.1

/*!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 `EinzelneSchicht`
--

DROP TABLE IF EXISTS `EinzelneSchicht`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `EinzelneSchicht` (
  `id` int NOT NULL AUTO_INCREMENT,
  `id_schicht_fareharbor` int NOT NULL,
  `hash_id_fareharbor` varchar(255) NOT NULL,
  `id_schicht_papershift` int DEFAULT NULL,
  `hash_id_papershift` varchar(255) DEFAULT NULL,
  `date_start` datetime NOT NULL,
  `date_end` datetime NOT NULL,
  `matching_standort_id` int NOT NULL,
  `ausfuehrung_zeit` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `hash_id_fareharbor_UNIQUE` (`hash_id_fareharbor`),
  UNIQUE KEY `hash_id_papershift_UNIQUE` (`hash_id_papershift`),
  KEY `matching_standort_id` (`matching_standort_id`),
  CONSTRAINT `einzelneschicht_ibfk_1` FOREIGN KEY (`matching_standort_id`) REFERENCES `MatchingStandorte` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `EinzelneSchicht`
--

LOCK TABLES `EinzelneSchicht` WRITE;
/*!40000 ALTER TABLE `EinzelneSchicht` DISABLE KEYS */;
/*!40000 ALTER TABLE `EinzelneSchicht` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `Gesamtschicht`
--

DROP TABLE IF EXISTS `Gesamtschicht`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Gesamtschicht` (
  `id` int NOT NULL AUTO_INCREMENT,
  `gesamte_hash_fareharbor` varchar(255) DEFAULT NULL,
  `gesamte_hash_papershift` varchar(255) NOT NULL,
  `date_start` datetime NOT NULL,
  `date_end` datetime NOT NULL,
  `matching_standort_id` int NOT NULL,
  `ausfuehrung_zeit` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`),
  KEY `matching_standort_id` (`matching_standort_id`),
  CONSTRAINT `gesamtschicht_ibfk_1` FOREIGN KEY (`matching_standort_id`) REFERENCES `MatchingStandorte` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `Gesamtschicht`
--

LOCK TABLES `Gesamtschicht` WRITE;
/*!40000 ALTER TABLE `Gesamtschicht` DISABLE KEYS */;
/*!40000 ALTER TABLE `Gesamtschicht` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `MatchingStandorte`
--

DROP TABLE IF EXISTS `MatchingStandorte`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `MatchingStandorte` (
  `id` int NOT NULL AUTO_INCREMENT,
  `company_name` varchar(100) NOT NULL,
  `id_standort_papershift` int NOT NULL,
  `ausfuehrung_zeit` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `MatchingStandorte`
--

LOCK TABLES `MatchingStandorte` WRITE;
/*!40000 ALTER TABLE `MatchingStandorte` DISABLE KEYS */;
INSERT INTO `MatchingStandorte` VALUES (21,'papershifttest',204899,'2025-01-21 15:28:44'),(22,'365days',195073,'2025-01-24 10:05:59'),(23,'flagshipamsterdam',212969,'2025-03-18 12:48:12'),(24,'papershifttest',212969,'2025-03-20 11:47:53'),(25,'365days',211500,'2025-03-24 23:07:34'),(26,'papershifttest',211500,'2025-03-24 23:10:19'),(27,'eatingeurope-amsterdam',204899,'2025-03-25 09:31:14'),(28,'eatingeurope-reykjavik',213077,'2025-03-25 09:57:02'),(29,'eatingeurope-athens',213077,'2025-03-25 09:58:34'),(30,'eatingeurope-amsterdam',213080,'2025-03-25 10:22:49'),(31,'eatingeurope-athens',213080,'2025-03-26 22:53:47');
/*!40000 ALTER TABLE `MatchingStandorte` 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 2025-03-27 16:18:34
