Changeset 78
- Timestamp:
- 04/22/2005 12:54:10 AM (20 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-admin/upgrade-schema.php
r77 r78 62 62 PRIMARY KEY (user_id), 63 63 UNIQUE KEY username (username) 64 );"; 64 ); 65 CREATE TABLE $bbdb->tags ( 66 tag_id bigint(20) unsigned NOT NULL auto_increment, 67 tag varchar(30) NOT NULL default '', 68 raw_tag varchar(50) NOT NULL default '', 69 PRIMARY KEY (id) 70 ); 71 CREATE TABLE $bbdb->tagged ( 72 tag_id bigint(20) unsigned NOT NULL default '0', 73 user_id bigint(20) unsigned NOT NULL default '0', 74 topic_id bigint(20) unsigned NOT NULL default '0', 75 tagged_on datetime NOT NULL default '0000-00-00 00:00:00', 76 PRIMARY KEY (`tag_id`,`user_id`,`topic_id`), 77 KEY `tag_id_index` (`tag_id`), 78 KEY `user_id_index` (`user_id`), 79 KEY `topic_id_index` (`topic_id`) 80 ); 81 "; 65 82 66 83 function dbDelta($queries, $execute = true) { -
trunk/bb-settings.php
r61 r78 19 19 else 20 20 require( BBPATH . '/bb-includes/db.php'); 21 22 $plugins = glob( BBPATH . '/bb-plugins/*.php'); 23 if ( $plugins ) : foreach ( $plugins as $plugin ) : 24 echo $plugin; 25 endforeach; endif; 26 21 27 require( BBPATH . '/bb-includes/functions.php'); 22 28 require( BBPATH . '/bb-includes/formatting-functions.php'); … … 28 34 $bbdb->topics = $table_prefix . 'topics'; 29 35 $bbdb->users = $table_prefix . 'users'; 36 $bbdb->tags = $table_prefix . 'tags'; 37 $bbdb->tagged = $table_prefix . 'tagged'; 30 38 31 39 if ( defined('CUSTOM_USER_TABLE') )
Note: See TracChangeset
for help on using the changeset viewer.