fix type to length 200 so that the index key is not > 500.
authorgarvinhicking <garvinhicking>
Thu, 9 Jun 2005 09:24:43 +0000 (09:24 +0000)
committergarvinhicking <garvinhicking>
Thu, 9 Jun 2005 09:24:43 +0000 (09:24 +0000)
Since only two users ever reported problems I'm not creating a new version stepping only for this.

sql/db.sql
sql/db_update_0.9-alpha1_0.9-alpha2_mysql.sql
sql/db_update_0.9-alpha1_0.9-alpha2_postgres.sql
sql/db_update_0.9-alpha1_0.9-alpha2_sqlite.sql

index fa491e49069156398b0bc9df3c2452fdf2bbeb36..7d4b31ca0a3df6a3699fe9329278886290c9a3cd 100644 (file)
@@ -237,7 +237,7 @@ CREATE UNIQUE INDEX prop_idx ON {PREFIX}entryproperties (entryid, property);
 CREATE TABLE {PREFIX}permalinks (
     permalink varchar(255) not null default '',
     entry_id int(10) {UNSIGNED} not null default '0',
-    type varchar(255) not null default '',
+    type varchar(200) not null default '',
     data text
 );
 
index 235efac9c8c58b52ef791670f1615c606315f09c..a95faaaa41ed2b8f46c43a4056cba75d70c6eb73 100644 (file)
@@ -1,7 +1,7 @@
 CREATE TABLE {PREFIX}permalinks (
     permalink varchar(255) not null default '',
     entry_id int(10) {UNSIGNED} not null default '0',
-    type varchar(255) not null default '',
+    type varchar(200) not null default '',
     data text
 );
 
index 235efac9c8c58b52ef791670f1615c606315f09c..a95faaaa41ed2b8f46c43a4056cba75d70c6eb73 100644 (file)
@@ -1,7 +1,7 @@
 CREATE TABLE {PREFIX}permalinks (
     permalink varchar(255) not null default '',
     entry_id int(10) {UNSIGNED} not null default '0',
-    type varchar(255) not null default '',
+    type varchar(200) not null default '',
     data text
 );
 
index 235efac9c8c58b52ef791670f1615c606315f09c..a95faaaa41ed2b8f46c43a4056cba75d70c6eb73 100644 (file)
@@ -1,7 +1,7 @@
 CREATE TABLE {PREFIX}permalinks (
     permalink varchar(255) not null default '',
     entry_id int(10) {UNSIGNED} not null default '0',
-    type varchar(255) not null default '',
+    type varchar(200) not null default '',
     data text
 );