Quote:
Originally Posted by amykhar
No problem. You already ran that query. Just skip it. Do these manually and you're done. Fix the table prefix part, of course, before you run them. I'm updating the zip now.
Code:
$db->query_write("ALTER TABLE ".TABLE_PREFIX."userpage ADD rating INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ");
$db->query_write("ALTER TABLE ".TABLE_PREFIX."userpage ADD views INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ");
$db->query_write("ALTER TABLE ".TABLE_PREFIX."userpage ADD numvotes INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ");
$db->query_write("ALTER TABLE ".TABLE_PREFIX."userpage ADD votetotal INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ");
|
great thanks ill let you knowhow it works out