Project

General

Profile

« Previous | Next » 

Revision 6016

Added inputs/newWorld/

View differences:

inputs/newWorld/_MySQL/geoscrub.schema.sql.make
1
#!/bin/sh
2
env server=nimoy schema=1 my2pg_export geoscrub newWorldCities newWorldCountries
0 3

  
inputs/newWorld/_MySQL/geoscrub.schema.sql
1
-- MySQL dump 10.13  Distrib 5.5.28, for debian-linux-gnu (x86_64)
2
--
3
-- Host: localhost    Database: geoscrub
4
-- ------------------------------------------------------
5
-- Server version	5.5.28-0ubuntu0.12.04.2
6

  
7
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
8
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
9
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
10
/*!40101 SET NAMES latin1 */;
11
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
12
/*!40103 SET TIME_ZONE='+00:00' */;
13
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
14
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
15
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,POSTGRESQL' */;
16
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
17

  
18
--
19
-- Table structure for table "newWorldCities"
20
--
21

  
22
DROP TABLE IF EXISTS "newWorldCities";
23
/*!40101 SET @saved_cs_client     = @@character_set_client */;
24
/*!40101 SET character_set_client = utf8 */;
25
CREATE TABLE "newWorldCities" (
26
  "objectID" int(11) NOT NULL,
27
  "cityName" varchar(255) DEFAULT NULL,
28
  "gmiAdmin" varchar(255) DEFAULT NULL,
29
  "adminName" varchar(255) DEFAULT NULL,
30
  "fipsCountry" varchar(255) DEFAULT NULL,
31
  "countryVerbatim" varchar(255) DEFAULT NULL,
32
  "Status" varchar(255) DEFAULT NULL,
33
  "Population" int(11) DEFAULT NULL,
34
  "popRank" int(11) DEFAULT NULL,
35
  "Longitude" decimal(10,6) DEFAULT NULL,
36
  "Latitude" decimal(10,6) DEFAULT NULL,
37
  "minDistKm" int(10) unsigned DEFAULT NULL,
38
  "countryID" int(10) unsigned DEFAULT NULL,
39
  PRIMARY KEY ("objectID"),
40
  KEY "Index_city" ("cityName"),
41
  KEY "Index_fips_country" ("fipsCountry"),
42
  KEY "Index_popRank" ("popRank"),
43
  KEY "Index_population" ("Population"),
44
  KEY "Index_longitude" ("Longitude"),
45
  KEY "Index_latitude" ("Latitude"),
46
  KEY "Index_minDistKm" ("minDistKm"),
47
  KEY "Index_country" ("countryVerbatim"),
48
  KEY "Index_countryID" ("countryID")
49
);
50
/*!40101 SET character_set_client = @saved_cs_client */;
51

  
52
--
53
-- Table structure for table "newWorldCountries"
54
--
55

  
56
DROP TABLE IF EXISTS "newWorldCountries";
57
/*!40101 SET @saved_cs_client     = @@character_set_client */;
58
/*!40101 SET character_set_client = utf8 */;
59
CREATE TABLE "newWorldCountries" (
60
  "countryID" int(11) unsigned NOT NULL,
61
  "isoCode" varchar(255) DEFAULT NULL,
62
  "isNewWorld" varchar(255) DEFAULT NULL,
63
  "countryNameStd" varchar(255) DEFAULT NULL,
64
  PRIMARY KEY ("countryID"),
65
  KEY "isNewWorld" ("isNewWorld"),
66
  KEY "countryNameStd" ("countryNameStd"),
67
  KEY "isoCode" ("isoCode")
68
);
69
/*!40101 SET character_set_client = @saved_cs_client */;
70
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
71

  
72
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
73
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
74
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
75
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
76
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
77
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
78
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
79

  
80
-- Dump completed on 2012-11-06  9:37:56
inputs/newWorld/_MySQL/geoscrub.data.sql.make
1
#!/bin/sh
2
env server=nimoy data=1 my2pg_export geoscrub newWorldCities newWorldCountries
0 3

  
inputs/newWorld/geoscrub.schema.sql
1
SET standard_conforming_strings = off;
2
SET escape_string_warning = off;
3
-- MySQL dump 10.13  Distrib 5.5.28, for debian-linux-gnu (x86_64)
4
--
5
-- Host: localhost    Database: geoscrub
6
-- ------------------------------------------------------
7
-- Server version	5.5.28-0ubuntu0.12.04.2
8

  
9
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
10
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
11
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
12
SET NAMES 'latin1';
13
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
14
/*!40103 SET TIME_ZONE='+00:00' */;
15
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
16
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
17
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,POSTGRESQL' */;
18
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
19

  
20
--
21
-- Table structure for table "newWorldCities"
22
--
23

  
24
DROP TABLE IF EXISTS "newWorldCities";
25
/*!40101 SET @saved_cs_client     = @@character_set_client */;
26
/*!40101 SET character_set_client = utf8 */;
27
CREATE TABLE "newWorldCities" (
28
  "objectID" integer NOT NULL,
29
  "cityName" varchar(255) DEFAULT NULL,
30
  "gmiAdmin" varchar(255) DEFAULT NULL,
31
  "adminName" varchar(255) DEFAULT NULL,
32
  "fipsCountry" varchar(255) DEFAULT NULL,
33
  "countryVerbatim" varchar(255) DEFAULT NULL,
34
  "Status" varchar(255) DEFAULT NULL,
35
  "Population" integer DEFAULT NULL,
36
  "popRank" integer DEFAULT NULL,
37
  "Longitude" decimal(10,6) DEFAULT NULL,
38
  "Latitude" decimal(10,6) DEFAULT NULL,
39
  "minDistKm" integer DEFAULT NULL,
40
  "countryID" integer DEFAULT NULL,
41
  PRIMARY KEY ("objectID"),
42
  "Index_city_index" boolean,
43
  "Index_fips_country_index" boolean,
44
  "Index_popRank_index" boolean,
45
  "Index_population_index" boolean,
46
  "Index_longitude_index" boolean,
47
  "Index_latitude_index" boolean,
48
  "Index_minDistKm_index" boolean,
49
  "Index_country_index" boolean,
50
  "Index_countryID_index" boolean
51
);
52
/*!40101 SET character_set_client = @saved_cs_client */;
53

  
54
--
55
-- Table structure for table "newWorldCountries"
56
--
57

  
58
DROP TABLE IF EXISTS "newWorldCountries";
59
/*!40101 SET @saved_cs_client     = @@character_set_client */;
60
/*!40101 SET character_set_client = utf8 */;
61
CREATE TABLE "newWorldCountries" (
62
  "countryID" integer NOT NULL,
63
  "isoCode" varchar(255) DEFAULT NULL,
64
  "isNewWorld" varchar(255) DEFAULT NULL,
65
  "countryNameStd" varchar(255) DEFAULT NULL,
66
  PRIMARY KEY ("countryID"),
67
  "isNewWorld_index" boolean,
68
  "countryNameStd_index" boolean,
69
  "isoCode_index" boolean
70
);
71
/*!40101 SET character_set_client = @saved_cs_client */;
72
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
73

  
74
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
75
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
76
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
77
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
78
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
79
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
80
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
81

  
82
-- Dump completed on 2012-11-06  9:37:56

Also available in: Unified diff