mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:38:53 +00:00
Module schema addition, note this may change depending on further discussion and screw ups
git-svn-id: file:///svn/phpbb/trunk@4523 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
860dc47114
commit
78c0f3ad5d
2 changed files with 37 additions and 0 deletions
|
@ -294,6 +294,20 @@ CREATE TABLE phpbb_moderator_cache (
|
|||
KEY forum_id (forum_id)
|
||||
);
|
||||
|
||||
# Table: 'phpbb_modules'
|
||||
CREATE TABLE phpbb_modules (
|
||||
module_id mediumint(8) NOT NULL auto_increment,
|
||||
module_type char(3) DEFAULT '' NOT NULL,
|
||||
module_title varchar(50) DEFAULT '' NOT NULL,
|
||||
module_filename varchar(50) DEFAULT '' NOT NULL,
|
||||
module_order mediumint(4) DEFAULT '0' NOT NULL,
|
||||
module_enabled tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
|
||||
module_subs text NOT NULL,
|
||||
module_acl varchar(255) DEFAULT '' NOT NULL,
|
||||
PRIMARY KEY (module_id),
|
||||
KEY module_type (module_type,module_enabled)
|
||||
);
|
||||
|
||||
# Table: 'phpbb_poll_results'
|
||||
CREATE TABLE phpbb_poll_results (
|
||||
poll_option_id tinyint(4) unsigned NOT NULL DEFAULT '0',
|
||||
|
@ -742,3 +756,13 @@ CREATE TABLE phpbb_words (
|
|||
replacement char(100) NOT NULL,
|
||||
PRIMARY KEY (word_id)
|
||||
);
|
||||
|
||||
# Table: 'phpbb_zebra'
|
||||
CREATE TABLE phpbb_zebra (
|
||||
user_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
zebra_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
friend tinyint(1) DEFAULT '0' NOT NULL,
|
||||
foe tinyint(1) DEFAULT '0' NOT NULL,
|
||||
KEY user_id (user_id),
|
||||
KEY zebra_id (zebra_id)
|
||||
);
|
||||
|
|
|
@ -344,6 +344,19 @@ INSERT INTO phpbb_user_group (group_id, user_id, user_pending, group_leader) VAL
|
|||
INSERT INTO phpbb_user_group (group_id, user_id, user_pending, group_leader) VALUES (7, 2, 0, 1);
|
||||
|
||||
|
||||
# -- Modules
|
||||
|
||||
# MSSQL IDENTITY phpbb_modules OFF #
|
||||
|
||||
INSERT INTO phpbb_modules (module_type, module_title, module_filename, module_order, module_enabled, module_subs, module_acl) VALUES ('mcp', 'MAIN', 'main', 1, 1, '', '');
|
||||
INSERT INTO phpbb_modules (module_type, module_title, module_filename, module_order, module_enabled, module_subs, module_acl) VALUES ('ucp', 'MAIN', 'main', 1, 1, 'front\r\nsubscribed\r\ndrafts', '');
|
||||
INSERT INTO phpbb_modules (module_type, module_title, module_filename, module_order, module_enabled, module_subs, module_acl) VALUES ('ucp', 'PROFILE', 'profile', 2, 1, 'profile_info\r\nreg_details\r\nsignature\r\navatar', '');
|
||||
INSERT INTO phpbb_modules (module_type, module_title, module_filename, module_order, module_enabled, module_subs, module_acl) VALUES ('ucp', 'PREFS', 'prefs', 3, 1, 'personal\r\nview\r\npost', '');
|
||||
INSERT INTO phpbb_modules (module_type, module_title, module_filename, module_order, module_enabled, module_subs, module_acl) VALUES ('ucp', 'ZEBRA', 'zebra', 4, 1, 'friends\r\nfoes', '');
|
||||
|
||||
# MSSQL IDENTITY phpbb_modules OFF #
|
||||
|
||||
|
||||
# Permissions
|
||||
|
||||
# Default user - admin rights
|
||||
|
|
Loading…
Add table
Reference in a new issue