1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 06:51:33 +02:00

Removed confirm code time, updated ms access schema

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4110 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2003-06-10 12:43:16 +00:00
parent 846fa80df1
commit d2b59cf3e7
5 changed files with 10 additions and 25 deletions

View File

@@ -52,8 +52,7 @@ GO
CREATE TABLE [phpbb_confirm] (
[confirm_id] [char] (32) NOT NULL ,
[session_id] [char] (32) NOT NULL ,
[code] [char] (6) NOT NULL ,
[time] [int] NOT NULL
[code] [char] (6) NOT NULL
) ON [PRIMARY]
GO
@@ -572,8 +571,7 @@ GO
ALTER TABLE [phpbb_confirm] WITH NOCHECK ADD
CONSTRAINT [DF_phpbb_confirm_confirm_id] DEFAULT ('') FOR [confirm_id],
CONSTRAINT [DF_phpbb_confirm_session_id] DEFAULT ('') FOR [session_id],
CONSTRAINT [DF_phpbb_confirm_code] DEFAULT ('') FOR [code],
CONSTRAINT [DF_phpbb_confirm_time] DEFAULT (0) FOR [time]
CONSTRAINT [DF_phpbb_confirm_code] DEFAULT ('') FOR [code]
GO
ALTER TABLE [phpbb_posts] WITH NOCHECK ADD

View File

@@ -99,9 +99,7 @@ CREATE TABLE phpbb_confirm (
confirm_id char(32) DEFAULT '' NOT NULL,
session_id char(32) DEFAULT '' NOT NULL,
code char(6) DEFAULT '' NOT NULL,
time int(11) DEFAULT '0' NOT NULL,
PRIMARY KEY (session_id,confirm_id),
KEY time (time)
PRIMARY KEY (session_id,confirm_id)
);

View File

@@ -50,10 +50,8 @@ CREATE TABLE phpbb_confirm (
confirm_id char(32) DEFAULT '' NOT NULL,
session_id char(32) DEFAULT '' NOT NULL,
code char(6) DEFAULT '' NOT NULL,
time int2 DEFAULT '0' NOT NULL,
CONSTRAINT phpbb_confirm_pkey PRIMARY KEY (session_id, confirm_id)
);
CREATE INDEX time_phpbb_confirm_index ON phpbb_confirm (time);
/* --------------------------------------------------------