mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
Add confirmation stuff here ... save time elsehwere ... MSAccess note yet updated
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4104 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -48,6 +48,15 @@ CREATE TABLE [phpbb_config] (
|
||||
) ON [PRIMARY]
|
||||
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
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
CREATE TABLE [phpbb_disallow] (
|
||||
[disallow_id] [int] IDENTITY (1, 1) NOT NULL ,
|
||||
[disallow_username] [varchar] (100) NULL
|
||||
@@ -401,6 +410,13 @@ ALTER TABLE [phpbb_categories] WITH NOCHECK ADD
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
ALTER TABLE [phpbb_confirm] WITH NOCHECK ADD
|
||||
CONSTRAINT [PK_phpbb_confirm] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[session_id,confirm_id]
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
ALTER TABLE [phpbb_disallow] WITH NOCHECK ADD
|
||||
CONSTRAINT [PK_phpbb_disallow] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
@@ -553,6 +569,13 @@ ALTER TABLE [phpbb_forums] WITH NOCHECK ADD
|
||||
CONSTRAINT [DF_phpbb_forums_auth_attachments] DEFAULT (0) FOR [auth_attachments]
|
||||
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]
|
||||
GO
|
||||
|
||||
ALTER TABLE [phpbb_posts] WITH NOCHECK ADD
|
||||
CONSTRAINT [DF_phpbb_posts_enable_bbcode] DEFAULT (1) FOR [enable_bbcode],
|
||||
CONSTRAINT [DF_phpbb_posts_enable_html] DEFAULT (0) FOR [enable_html],
|
||||
|
Reference in New Issue
Block a user