%PDF- %PDF-
Direktori : /home/waritko/db_backups/databaze/knihovna/ |
Current File : //home/waritko/db_backups/databaze/knihovna/series_authors.sql |
-- MySQL dump 10.14 Distrib 5.5.60-MariaDB, for Linux (x86_64) -- -- Host: localhost Database: knihovna -- ------------------------------------------------------ -- Server version 5.5.60-MariaDB /*!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 */; /*!40101 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 `series_authors` -- DROP TABLE IF EXISTS `series_authors`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `series_authors` ( `id` int(11) NOT NULL AUTO_INCREMENT, `serie` int(11) NOT NULL, `author` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `idx_author` (`author`), KEY `idx_serie` (`serie`), CONSTRAINT `series_authors_ibfk_1` FOREIGN KEY (`serie`) REFERENCES `series` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `series_authors_ibfk_2` FOREIGN KEY (`author`) REFERENCES `authors` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=119 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `series_authors` -- LOCK TABLES `series_authors` WRITE; /*!40000 ALTER TABLE `series_authors` DISABLE KEYS */; INSERT INTO `series_authors` VALUES (1,1,1),(2,2,2),(3,3,2),(4,5,2),(5,6,2),(6,7,2),(7,8,3),(8,9,3),(9,10,3),(10,11,3),(11,12,3),(12,13,3),(13,14,3),(14,15,3),(15,16,4),(16,17,5),(17,18,6),(18,19,7),(19,20,7),(20,21,8),(21,22,9),(22,23,10),(23,24,10),(24,25,12),(25,26,12),(26,27,12),(27,28,12),(28,29,12),(29,30,12),(30,31,12),(31,32,12),(32,33,12),(33,34,14),(34,35,13),(35,36,15),(36,37,15),(37,38,15),(38,39,17),(39,40,18),(40,41,19),(41,42,20),(42,43,20),(43,44,20),(44,45,21),(45,46,21),(46,47,23),(47,48,24),(48,49,24),(49,50,25),(50,51,26),(51,52,26),(52,53,26),(53,54,27),(54,55,27),(55,56,28),(56,57,29),(57,58,29),(58,59,29),(59,60,30),(60,61,31),(61,62,32),(62,63,32),(63,64,33),(64,65,34),(65,66,35),(66,67,37),(67,68,37),(68,69,37),(69,70,37),(70,71,38),(71,72,44),(72,73,40),(73,74,42),(74,75,42),(75,76,43),(76,77,43),(77,78,46),(78,79,47),(79,80,47),(80,81,51),(81,82,51),(82,83,51),(83,84,51),(84,85,50),(85,86,50),(86,87,54),(87,88,54),(88,89,54),(89,90,54),(90,91,53),(91,92,63),(92,93,63),(93,95,56),(94,96,59),(95,97,59),(96,98,59),(97,99,63),(98,100,63),(99,101,61),(100,102,62),(101,103,62),(102,104,63),(103,105,63),(104,106,64),(105,107,64),(106,108,68),(107,110,69),(108,111,69),(109,112,69),(110,113,69),(111,114,69),(112,115,69),(113,116,70),(114,117,70),(115,118,64),(117,109,68),(118,94,56); /*!40000 ALTER TABLE `series_authors` 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 2018-11-09 4:25:39