Changeset 2267
- Timestamp:
- 11/29/10 10:43:05 (18 months ago)
- Location:
- branches/1.5
- Files:
-
- 3 modified
-
install/index.php (modified) (1 diff)
-
install/install_tables.php (modified) (1 diff)
-
libs/AdminPages.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/install/index.php
r2243 r2267 504 504 else { 505 505 506 $tables = array('blocked', 'categories', 'comments', ' commentvotes', 'friends', 'messaging', 'miscdata', 'plugins', 'pluginhooks', 'pluginsettings', 'posts', 'postmeta', 'postvotes', 'settings', 'tags', 'tempdata', 'tokens', 'users', 'usermeta', 'useractivity', 'widgets');506 $tables = array('blocked', 'categories', 'comments', 'friends', 'messaging', 'miscdata', 'plugins', 'pluginhooks', 'pluginsettings', 'posts', 'postmeta', 'postvotes', 'settings', 'tags', 'tempdata', 'tokens', 'users', 'usermeta', 'useractivity', 'widgets'); 507 507 508 508 // delete *all* tables in db: -
branches/1.5/install/install_tables.php
r2243 r2267 114 114 115 115 116 // COMMENT VOTES TABLE - comment votes117 118 if ($table_name == "commentvotes") {119 //echo "table doesn't exist. Stopping before creation."; exit;120 $sql = "CREATE TABLE `" . DB_PREFIX . $table_name . "` (121 `cvote_archived` enum('Y','N') NOT NULL DEFAULT 'N',122 `cvote_updatedts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,123 `cvote_post_id` int(11) NOT NULL DEFAULT '0',124 `cvote_comment_id` int(11) NOT NULL DEFAULT '0',125 `cvote_user_id` int(11) NOT NULL DEFAULT '0',126 `cvote_user_ip` varchar(32) NOT NULL DEFAULT '0',127 `cvote_date` timestamp NULL,128 `cvote_rating` smallint(11) NOT NULL DEFAULT '0',129 `cvote_reason` tinyint(3) NOT NULL DEFAULT 0,130 `cvote_updateby` int(20) NOT NULL DEFAULT 0131 ) ENGINE=" . DB_ENGINE . " DEFAULT CHARSET=" . DB_CHARSET . " COLLATE=" . DB_COLLATE . " COMMENT='Comment Votes';";132 echo $lang['install_step2_creating_table'] . ": '" . DB_PREFIX . $table_name . "'...<br />\n";133 $db->query($sql);134 }135 136 137 116 // FRIENDS TABLE 138 117 -
branches/1.5/libs/AdminPages.php
r2254 r2267 345 345 DB_PREFIX . 'categories', 346 346 DB_PREFIX . 'comments', 347 DB_PREFIX . 'commentvotes',348 347 DB_PREFIX . 'miscdata', 349 348 DB_PREFIX . 'postmeta', 350 349 DB_PREFIX . 'posts', 351 350 DB_PREFIX . 'postvotes', 352 DB_PREFIX . 'site',353 351 DB_PREFIX . 'tags', 354 352 DB_PREFIX . 'useractivity',