sql/core_geoip_country.sql
authorEdward <edward@roojs.com>
Wed, 14 May 2014 06:47:17 +0000 (14:47 +0800)
committerEdward <edward@roojs.com>
Wed, 14 May 2014 06:47:17 +0000 (14:47 +0800)
sql/core_geoip_country.sql

index 3bbc4b5..8705140 100644 (file)
@@ -1,7 +1,7 @@
 CREATE  TABLE core_geoip_country (
     id INT(11) NOT NULL AUTO_INCREMENT ,
-    code TEXT NOT NULL DEFAULT '',
-    name TEXT NOT NULL DEFAULT '',
+    code VARCHAR(32) NOT NULL DEFAULT '',
+    name VARCHAR(255) NOT NULL DEFAULT '',
     continent_id INT(11) NOT NULL DEFAULT 0,
     PRIMARY KEY (id)
 );