--- ip2cc/ip2cc.install 2009-01-11 13:15:10.000000000 +0000 +++ ip2cc.fix/ip2cc.install 2009-02-04 17:03:47.000000000 +0000 @@ -23,11 +23,13 @@ 'country_code2' => array( 'description' => t('TODO'), 'type' => 'char', + 'length' => 2, 'not null' => TRUE, ), 'country_code3' => array( 'description' => t('TODO'), 'type' => 'char', + 'length' => 3, 'not null' => TRUE, ), 'country_name' => array( @@ -70,11 +72,13 @@ 'country_code' => array( 'description' => t('TODO'), 'type' => 'char', + 'length' => 2, 'not null' => TRUE, ), 'net_name' => array( 'description' => t('TODO'), - 'type' => 'char', + 'type' => 'varchar', + 'length' => 128, 'not null' => TRUE, ), 'as_number' => array( @@ -132,4 +136,4 @@ function ip2cc_update_6000() { cache_clear_all(NULL, 'cache_menu'); -} \ No newline at end of file +}