Oops, forgot to make the primary key ID an auto_increment column.

git-svn-id: svn://10.0.0.236/trunk@120823 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ian%hixie.ch 2002-05-06 09:53:01 +00:00
parent e5298ad2d1
commit a31edff424

View File

@ -423,14 +423,13 @@ sub setupInstall {
$app->output->setupProgress('dataSource.user.userDataChanges');
$database->execute('
CREATE TABLE userDataChanges (
changeID integer unsigned NOT NULL,
changeID integer unsigned auto_increment NOT NULL PRIMARY KEY,
userID integer unsigned NOT NULL,
fieldID integer unsigned NOT NULL,
newData text,
password varchar(255) NOT NULL,
createTime TIMESTAMP DEFAULT NULL,
type integer unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (changeID),
KEY (userID, fieldID)
)
');