- Timestamp:
- 12/18/10 09:51:18 (17 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
r2305 r2308 499 499 } else { 500 500 501 $tables = array('blocked', 'categories', 'comments', 'miscdata', 'plugins', 'pluginhooks', 'pluginsettings', 'posts', 'post meta', 'postvotes', 'settings', 'tags', 'tempdata', 'tokens', 'users', 'usermeta', 'widgets');501 $tables = array('blocked', 'categories', 'comments', 'miscdata', 'plugins', 'pluginhooks', 'pluginsettings', 'posts', 'postvotes', 'settings', 'tags', 'tempdata', 'tokens', 'users', 'usermeta', 'widgets'); 502 502 503 503 // delete *all* tables in db: -
branches/1.5/install/install_tables.php
r2305 r2308 246 246 247 247 248 // POSTMETA TABLE - extra information for posts249 250 if ($table_name == "postmeta") {251 //echo "table doesn't exist. Stopping before creation."; exit;252 $sql = "CREATE TABLE `" . DB_PREFIX . $table_name . "` (253 `postmeta_id` int(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,254 `postmeta_archived` enum('Y','N') NOT NULL DEFAULT 'N',255 `postmeta_updatedts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,256 `postmeta_postid` int(20) NOT NULL DEFAULT 0,257 `postmeta_key` varchar(255) NULL,258 `postmeta_value` text NULL,259 `postmeta_updateby` int(20) NOT NULL DEFAULT 0,260 INDEX (`postmeta_postid`)261 ) ENGINE=" . DB_ENGINE . " DEFAULT CHARSET=" . DB_CHARSET . " COLLATE=" . DB_COLLATE . " COMMENT='Post Meta';";262 echo $lang['install_step2_creating_table'] . ": '" . DB_PREFIX . $table_name . "'...<br />\n";263 $db->query($sql);264 }265 266 267 248 // POSTVOTES TABLE - votes 268 249 -
branches/1.5/libs/AdminPages.php
r2306 r2308 380 380 DB_PREFIX . 'comments', 381 381 DB_PREFIX . 'miscdata', 382 DB_PREFIX . 'postmeta',383 382 DB_PREFIX . 'posts', 384 383 DB_PREFIX . 'postvotes',