Newer
Older
-- MySQL dump 10.13 Distrib 5.5.27, for Linux (x86_64)
-- ------------------------------------------------------
/*!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 `children`
--
DROP TABLE IF EXISTS `children`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `children` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`parent_id` bigint(20) unsigned NOT NULL,
`name` varchar(60) DEFAULT NULL,
PRIMARY KEY (`id`)
/*!40101 SET character_set_client = @saved_cs_client */;
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
--
-- Dumping data for table `children`
--
LOCK TABLES `children` WRITE;
/*!40000 ALTER TABLE `children` DISABLE KEYS */;
/*!40000 ALTER TABLE `children` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `data_types`
--
DROP TABLE IF EXISTS `data_types`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `data_types` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`_uint` int(10) unsigned DEFAULT NULL,
`_uintptr` int(10) unsigned DEFAULT NULL,
`_uint8` int(10) unsigned DEFAULT NULL,
`_uint16` int(10) unsigned DEFAULT NULL,
`_uint32` int(10) unsigned DEFAULT NULL,
`_uint64` bigint(20) unsigned DEFAULT NULL,
`_int` int(11) DEFAULT NULL,
`_int8` int(11) DEFAULT NULL,
`_int16` int(11) DEFAULT NULL,
`_int32` int(11) DEFAULT NULL,
`_int64` bigint(20) DEFAULT NULL,
`_float32` decimal(10,6) DEFAULT NULL,
`_float64` decimal(10,6) DEFAULT NULL,
`_byte` tinyint(4) DEFAULT NULL,
`_rune` tinyint(4) DEFAULT NULL,
`_bool` tinyint(4) DEFAULT NULL,
`_string` varchar(255) DEFAULT NULL,
`_date` datetime DEFAULT NULL,
`_bytea` varchar(255) DEFAULT NULL,
`_time` time DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `data_types`
--
LOCK TABLES `data_types` WRITE;
/*!40000 ALTER TABLE `data_types` DISABLE KEYS */;
/*!40000 ALTER TABLE `data_types` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `people`
--
DROP TABLE IF EXISTS `people`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `people` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`place_code_id` bigint(20) unsigned NOT NULL,
`name` varchar(60) DEFAULT NULL,
PRIMARY KEY (`id`)
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `people`
--
LOCK TABLES `people` WRITE;
/*!40000 ALTER TABLE `people` DISABLE KEYS */;
/*!40000 ALTER TABLE `people` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `places`
--
DROP TABLE IF EXISTS `places`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `places` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`code_id` bigint(20) DEFAULT NULL,
`name` varchar(60) DEFAULT NULL,
PRIMARY KEY (`id`)
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `places`
--
LOCK TABLES `places` WRITE;
/*!40000 ALTER TABLE `places` DISABLE KEYS */;
/*!40000 ALTER TABLE `places` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `visits`
--
DROP TABLE IF EXISTS `visits`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `visits` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`place_id` bigint(20) DEFAULT NULL,
`person_id` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`)
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `visits`
--
LOCK TABLES `visits` WRITE;
/*!40000 ALTER TABLE `visits` DISABLE KEYS */;
/*!40000 ALTER TABLE `visits` 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 */;