-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsql_format.sql
More file actions
160 lines (135 loc) · 6.89 KB
/
Copy pathsql_format.sql
File metadata and controls
160 lines (135 loc) · 6.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
-- This is the Data Twist SQL format file.
-- これは、データツイストSQL形式のファイルです。
-- It is used by Data Twist to create the output file.
-- これは、出力ファイルを作成するためにデータツイストによって使用されます。
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!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 */;
-- --------------------------------------------------------
--
-- Table structure for table `wp_posts`
--
CREATE TABLE IF NOT EXISTS `wp_posts` (
`ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`post_author` bigint(20) unsigned NOT NULL DEFAULT '0',
`post_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`post_date_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`post_content` longtext NOT NULL,
`post_title` text NOT NULL,
`post_excerpt` text NOT NULL,
`post_status` varchar(20) NOT NULL DEFAULT 'publish',
`comment_status` varchar(20) NOT NULL DEFAULT 'open',
`ping_status` varchar(20) NOT NULL DEFAULT 'open',
`post_password` varchar(20) NOT NULL DEFAULT '',
`post_name` varchar(200) NOT NULL DEFAULT '',
`to_ping` text NOT NULL,
`pinged` text NOT NULL,
`post_modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`post_modified_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`post_content_filtered` longtext NOT NULL,
`post_parent` bigint(20) unsigned NOT NULL DEFAULT '0',
`guid` varchar(255) NOT NULL DEFAULT '',
`menu_order` int(11) NOT NULL DEFAULT '0',
`post_type` varchar(20) NOT NULL DEFAULT 'post',
`post_mime_type` varchar(100) NOT NULL DEFAULT '',
`comment_count` bigint(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`),
KEY `post_name` (`post_name`),
KEY `type_status_date` (`post_type`,`post_status`,`post_date`,`ID`),
KEY `post_parent` (`post_parent`),
KEY `post_author` (`post_author`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=14 ;
--
-- Table structure for table `wp_geo_mashup_locations`
--
CREATE TABLE IF NOT EXISTS `wp_geo_mashup_locations` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`lat` double(11,7) NOT NULL,
`lng` double(11,7) NOT NULL,
`address` tinytext,
`saved_name` varchar(200) DEFAULT NULL,
`geoname` tinytext,
`postal_code` tinytext,
`country_code` varchar(2) DEFAULT NULL,
`admin_code` varchar(20) DEFAULT NULL,
`sub_admin_code` varchar(80) DEFAULT NULL,
`locality_name` tinytext,
PRIMARY KEY (`id`),
UNIQUE KEY `latlng` (`lat`,`lng`),
UNIQUE KEY `saved_name` (`saved_name`),
KEY `lat` (`lat`),
KEY `lng` (`lng`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
--
-- Table structure for table `wp_geo_mashup_location_relationships`
--
CREATE TABLE IF NOT EXISTS `wp_geo_mashup_location_relationships` (
`object_name` varchar(80) NOT NULL,
`object_id` bigint(20) NOT NULL,
`location_id` bigint(20) NOT NULL,
`geo_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`object_name`,`object_id`,`location_id`),
KEY `object_name` (`object_name`,`object_id`),
KEY `object_date_key` (`object_name`,`geo_date`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Table structure for table `wp_term_relationships`
--
CREATE TABLE IF NOT EXISTS `wp_term_relationships` (
`object_id` bigint(20) unsigned NOT NULL DEFAULT '0',
`term_taxonomy_id` bigint(20) unsigned NOT NULL DEFAULT '0',
`term_order` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`object_id`,`term_taxonomy_id`),
KEY `term_taxonomy_id` (`term_taxonomy_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Table structure for table `wp_term_taxonomy`
--
CREATE TABLE IF NOT EXISTS `wp_term_taxonomy` (
`term_taxonomy_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`term_id` bigint(20) unsigned NOT NULL DEFAULT '0',
`taxonomy` varchar(32) NOT NULL DEFAULT '',
`description` longtext NOT NULL,
`parent` bigint(20) unsigned NOT NULL DEFAULT '0',
`count` bigint(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`term_taxonomy_id`),
UNIQUE KEY `term_id_taxonomy` (`term_id`,`taxonomy`),
KEY `taxonomy` (`taxonomy`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
--
-- Table structure for table `wp_terms`
--
CREATE TABLE IF NOT EXISTS `wp_terms` (
`term_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(200) NOT NULL DEFAULT '',
`slug` varchar(200) NOT NULL DEFAULT '',
`term_group` bigint(10) NOT NULL DEFAULT '0',
PRIMARY KEY (`term_id`),
UNIQUE KEY `slug` (`slug`),
KEY `name` (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
--
-- Dumping data for table `wp_term_taxonomy`
--
INSERT INTO `wp_term_taxonomy` (`term_taxonomy_id`, `term_id`, `taxonomy`, `description`, `parent`, `count`) VALUES
(2, 2, 'link_category', '', 0, 7);
--
-- Dumping data for table `wp_terms`
--
INSERT INTO `wp_terms` (`term_id`, `name`, `slug`, `term_group`) VALUES
(1, 'Uncategorized', 'uncategorized', 0),
(2, 'Blogroll', 'blogroll', 0),
(3, 'Shop', 'shop', 0),
(4, 'Amenity', 'amenity', 0);
--
-- Dumping data for table `wp_posts`
--
INSERT INTO `wp_posts` (`ID`, `post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_excerpt`, `post_status`, `comment_status`, `ping_status`, `post_password`, `post_name`, `to_ping`, `pinged`, `post_modified`, `post_modified_gmt`, `post_content_filtered`, `post_parent`, `guid`, `menu_order`, `post_type`, `post_mime_type`, `comment_count`) VALUES
(2, 1, '2013-02-22 14:56:05', '2013-02-22 05:56:05', '[geo_mashup_map]', 'Overview Page', '', 'publish', 'closed', 'closed', '', 'overview-page', '', '', '2013-02-22 14:56:05', '2013-02-22 05:56:05', '', 0, 'http://www.opendawn.com/matsue/?page_id=1985941784', 0, 'page', '', 0),
(1, 1, '2013-02-22 14:58:57', '2013-02-22 05:58:57', 'Welcome to a Data Twist test site. Here be dragons.\r\n<h2>== Get Help ==</h2>\r\nData Twist is an experimental script family to twist Open Data into new shapes.\r\n\r\nThese scripts are designed to take OpenStreetMap XML data and import it into a\r\ngeo-aware version of Wordpress. This allows information like shops and tourist\r\nlocations to quickly populate directories, at least in theory.\r\n\r\nThe initial focus is on allowing OSM website XML downloads, XAPI pulls and\r\nOsmosis node filters from a database to be converted into SQL files that we can\r\nquickly load into a Wordpress install.\r\n\r\nYou can get help at <a href="https://github.com/shanecoughlan/data-twist/">https://github.com/shanecoughlan/data-twist/</a>.', 'About', '', 'publish', 'closed', 'closed', '', 'about', '', '', '2013-02-22 14:58:57', '2013-02-22 05:58:57', '', 0, 'http://www.opendawn.com/matsue/?page_id=1985941786', 0, 'page', '', 0);
/*!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 */;