+) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+DROP TABLE IF EXISTS `barcode`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `barcode` (
+ `barcode_id` int(11) NOT NULL AUTO_INCREMENT,
+ `model_id` int(11) NOT NULL,
+ `barcode_name` varchar(128) COLLATE utf8_czech_ci NOT NULL,
+ PRIMARY KEY (`barcode_id`),
+ KEY `model_id` (`model_id`),
+ CONSTRAINT `barcode_ibfk_2` FOREIGN KEY (`model_id`) REFERENCES `model` (`model_id`) ON UPDATE CASCADE
+) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+DROP TABLE IF EXISTS `lock`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `lock` (
+ `lock_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
+ `lock_author` int(11) unsigned NOT NULL,
+ `lock_name` varchar(4096) COLLATE utf8_czech_ci NOT NULL,
+ PRIMARY KEY (`lock_id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+DROP TABLE IF EXISTS `bank`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `bank` (
+ `bank_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
+ `bank_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+ `bank_from` varchar(23) COLLATE utf8_czech_ci NOT NULL,
+ `bank_to` varchar(23) COLLATE utf8_czech_ci NOT NULL,
+ `bank_amount` int(11) NOT NULL,
+ `bank_author` int(11) NOT NULL,
+ `bank_comment` varchar(128) COLLATE utf8_czech_ci NOT NULL,
+ PRIMARY KEY (`bank_id`)
+) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;