changeset 38:a825a4e27627

Oops, quotedb tables creation was fucked up by latest changes. Fixed.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 06 Sep 2011 20:06:34 +0300
parents c3c597cac4b6
children 428f498b6030
files util_convert.tcl
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/util_convert.tcl	Tue Sep 06 18:21:32 2011 +0300
+++ b/util_convert.tcl	Tue Sep 06 20:06:34 2011 +0300
@@ -57,8 +57,8 @@
 
 proc create_table_quotes_votes { utable ufail } {
 	
-	set sql1 "id INTEGER PRIMARY KEY AUTOINCREMENT, user VARCHAR(32), urlid INTEGER, vote INTEGER"
-	set sql2 "id INTEGER PRIMARY KEY AUTOINCREMENT, utime INT, utext VARCHAR(2048), user VARCHAR(32), host VARCHAR(256), chan VARCHAR(32)"
+	set sql1 "id INTEGER PRIMARY KEY AUTOINCREMENT, utime INT, utext VARCHAR(2048), user VARCHAR(32), host VARCHAR(256), chan VARCHAR(32)"
+	set sql2 "id INTEGER PRIMARY KEY AUTOINCREMENT, user VARCHAR(32), urlid INTEGER, vote INTEGER"
 
 	if {$ufail} {
 		create_table_or_fail "$utable" "$sql1"