1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-18 22:58:10 +01:00

Fixed cache table schema.

Added in index to username for validate_username() queries.


git-svn-id: file:///svn/phpbb/trunk@4697 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud 2003-11-29 23:38:42 +00:00
parent eb7cc50608
commit e403277ce2

View File

@ -112,7 +112,7 @@ CREATE TABLE phpbb_bots (
# Table: 'phpbb_cache'
CREATE TABLE phpbb_cache (
var_name varchar(255) DEFAULT '' NOT NULL,
var_ts int(10) UNSIGNED DEFAULT '0' NOT NULL,
var_expires int(10) UNSIGNED DEFAULT '0' NOT NULL,
var_data text NOT NULL,
PRIMARY KEY (var_name)
);
@ -763,7 +763,8 @@ CREATE TABLE phpbb_users (
user_actkey varchar(32) DEFAULT '' NOT NULL,
user_newpasswd varchar(32) DEFAULT '' NOT NULL,
PRIMARY KEY (user_id),
KEY user_birthday (user_birthday(6))
KEY user_birthday (user_birthday(6)),
KEY username (username)
);
# Table: 'phpbb_users_notes'