Index: geonames.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/geonames/geonames.install,v
retrieving revision 1.1.2.2.2.1
diff -u -p -r1.1.2.2.2.1 geonames.install
--- geonames.install	16 Apr 2009 00:18:46 -0000	1.1.2.2.2.1
+++ geonames.install	16 Apr 2009 04:36:14 -0000
@@ -58,6 +58,11 @@ function geonames_schema() {
         'not null' => TRUE,
         'length' => 2,
       ),
+      'tld' => array(
+        'type' => 'varchar',
+        'length' => '200',
+        'not null' => FALSE
+      ),
       'languages'   => array(
         'type' => 'varchar',
         'not null' => TRUE,
@@ -68,11 +73,41 @@ function geonames_schema() {
         'not null' => TRUE,
         'length' => 3,
       ),
+      'currencyname' => array(
+        'type' => 'varchar',
+        'length' => '200',
+        'not null' => FALSE,
+      ),
+      'phone' => array(
+        'type' => 'varchar',
+        'length' => '200',
+        'not null' => FALSE,
+      ),
+      'postal_code_format' => array(
+        'type' => 'varchar',
+        'length' => '200',
+        'not null' => FALSE,
+      ),
+      'postal_code_regex' => array(
+        'type' => 'varchar',
+        'length' => '200',
+        'not null' => FALSE,
+      ),
       'geonameid'   => array(
         'type' => 'int',
         'not null' => TRUE,
         'unsigned' => TRUE,
       ),
+      'neighbours' => array(
+        'type' => 'varchar',
+        'length' => '200',
+        'not null' => FALSE,
+      ),
+      'equivalentfipscode' => array(
+        'type' => 'varchar',
+        'length' => '200',
+        'not null' => FALSE,
+      ),
     ),
     'indexes' => array(
       'iso_alpha3' => array('iso_alpha3'),
Index: geonames.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/geonames/geonames.module,v
retrieving revision 1.1.4.1.2.2
diff -u -p -r1.1.4.1.2.2 geonames.module
--- geonames.module	16 Apr 2009 00:18:46 -0000	1.1.4.1.2.2
+++ geonames.module	16 Apr 2009 04:36:15 -0000
@@ -62,8 +62,8 @@ function geonames_metadata_update() {
         // insert or replace the data
         $a = split("\t", $line);
         if ($a[4] != 'name') {
-          db_query("REPLACE INTO {geonames_countryinfo} VALUES('%s', '%s', %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d)",
-                  $a[0], $a[1], $a[2], $a[3], $a[4], $a[5], $a[6], $a[7], $a[8], $a[9], $a[10], $a[11]);
+          db_query("REPLACE INTO {geonames_countryinfo} VALUES('%s', '%s', %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, '%s', '%s')",
+                  $a[0], $a[1], $a[2], $a[3], $a[4], $a[5], $a[6], $a[7], $a[8], $a[9], $a[15], $a[10], $a[11], $a[12], $a[13], $a[14], $a[16], $a[17], $a[18]);
         }
       }
     }
