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

- add module_display to modules table (for modes executed but not displayed)

- correctly assign $id variable for modules (name for modules and id for categories)


git-svn-id: file:///svn/phpbb/trunk@5295 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2005-11-08 19:24:19 +00:00
parent 183e968ce7
commit 8a965db7aa
8 changed files with 24 additions and 4 deletions

View File

@@ -289,6 +289,7 @@ GO
CREATE TABLE [phpbb_modules] (
[module_id] [int] IDENTITY (1, 1) NOT NULL ,
[module_enabled] [int] NOT NULL ,
[module_display] [int] NOT NULL ,
[module_name] [varchar] (20) NOT NULL ,
[module_class] [varchar] (4) NOT NULL ,
[parent_id] [int] NOT NULL ,
@@ -1343,6 +1344,10 @@ ALTER TABLE [phpbb_modules] WITH NOCHECK ADD
CONSTRAINT [DF_module_module_enabled] DEFAULT (1) FOR [module_enabled]
GO
ALTER TABLE [phpbb_modules] WITH NOCHECK ADD
CONSTRAINT [DF_module_module_display] DEFAULT (1) FOR [module_display]
GO
ALTER TABLE [phpbb_poll_results] WITH NOCHECK ADD
CONSTRAINT [DF_poll_r_poll_option_id] DEFAULT (0) FOR [poll_option_id],
CONSTRAINT [DF_poll_r_topic_id] DEFAULT (0) FOR [topic_id],