X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=install.sql;h=46aa6e7f3bc0fe94fd8eccbdbce278e2a6ea6de9;hb=9bc19038da651a9fd5bb36eaef1ad2136f39c86e;hp=2c0857e6f1176fdf168340cb694c5951a2395dc3;hpb=e19f08cf3865593cb1dbc4458cd125361bd74f01;p=mirrors%2FSokoMan.git diff --git a/install.sql b/install.sql index 2c0857e..46aa6e7 100644 --- a/install.sql +++ b/install.sql @@ -230,7 +230,7 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2012-07-29 14:23:53 +-- Dump completed on 2012-07-29 21:33:32 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; @@ -305,7 +305,7 @@ CREATE TABLE `barcode` ( `barcode_name` varchar(128) COLLATE utf8_czech_ci NOT NULL, PRIMARY KEY (`barcode_id`), KEY `model_id` (`model_id`), - CONSTRAINT `barcode_ibfk_1` FOREIGN KEY (`model_id`) REFERENCES `model` (`model_id`) + CONSTRAINT `barcode_ibfk_2` FOREIGN KEY (`model_id`) REFERENCES `model` (`model_id`) ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci; /*!40101 SET character_set_client = @saved_cs_client */; DROP TABLE IF EXISTS `lock`;