mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Switched forum_auth to the forums table
git-svn-id: file:///svn/phpbb/trunk@507 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2ec0206283
commit
59c47a1309
3 changed files with 1 additions and 42 deletions
|
@ -10,7 +10,7 @@ INSERT INTO phpbb_config (config_id, sitename, allow_html, allow_bbcode, allow_s
|
||||||
INSERT INTO phpbb_categories (cat_id, cat_title, cat_order) VALUES (1, 'Test category 1', 1);
|
INSERT INTO phpbb_categories (cat_id, cat_title, cat_order) VALUES (1, 'Test category 1', 1);
|
||||||
|
|
||||||
# -- Forums
|
# -- Forums
|
||||||
INSERT INTO phpbb_forums (forum_id, forum_name, forum_desc, cat_id, forum_order, forum_posts, forum_topics, forum_last_post_id) VALUES (1, 'Test Forum 1', 'This is just a test forum, nothing special here.', 1, 1, 1, 1, 1);
|
INSERT INTO phpbb_forums (forum_id, forum_name, forum_desc, cat_id, forum_order, forum_posts, forum_topics, forum_last_post_id, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_announce, auth_sticky, auth_votecreate, auth_vote) VALUES (1, 'Test Forum 1', 'This is just a test forum, nothing special here.', 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
# -- Users (admin is set as that, an admin ... password is null, change it once online!)
|
# -- Users (admin is set as that, an admin ... password is null, change it once online!)
|
||||||
INSERT INTO phpbb_users (user_id, username, user_level, user_regdate, user_password, user_autologin_key, user_email, user_icq, user_website, user_occ, user_from, user_interests, user_sig, user_viewemail, user_theme, user_aim, user_yim, user_msnm, user_posts, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_rank, user_avatar, user_lang, user_timezone, user_dateformat, user_actkey, user_newpasswd, user_notify, user_active, user_template) VALUES ( '-1', 'Anonymous', '0', '972086460', '', '', '', '', '', '', '', '', '', '0', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '0', '0', '');
|
INSERT INTO phpbb_users (user_id, username, user_level, user_regdate, user_password, user_autologin_key, user_email, user_icq, user_website, user_occ, user_from, user_interests, user_sig, user_viewemail, user_theme, user_aim, user_yim, user_msnm, user_posts, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_rank, user_avatar, user_lang, user_timezone, user_dateformat, user_actkey, user_newpasswd, user_notify, user_active, user_template) VALUES ( '-1', 'Anonymous', '0', '972086460', '', '', '', '', '', '', '', '', '', '0', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '0', '0', '');
|
||||||
|
@ -31,9 +31,6 @@ INSERT INTO phpbb_groups (group_id, group_name, group_description, group_single_
|
||||||
INSERT INTO phpbb_user_group (group_id, user_id) VALUES (1, -1);
|
INSERT INTO phpbb_user_group (group_id, user_id) VALUES (1, -1);
|
||||||
INSERT INTO phpbb_user_group (group_id, user_id) VALUES (2, 2);
|
INSERT INTO phpbb_user_group (group_id, user_id) VALUES (2, 2);
|
||||||
|
|
||||||
# -- Forum Access (Open access to ALL)
|
|
||||||
INSERT INTO phpbb_auth_forums (forum_id, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_announce, auth_sticky, auth_votecreate, auth_vote) VALUES (1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
|
||||||
|
|
||||||
# -- User Access (admin is set as ... an admin)
|
# -- User Access (admin is set as ... an admin)
|
||||||
INSERT INTO phpbb_auth_access (group_id, forum_id, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_announce, auth_sticky, auth_votecreate, auth_vote, auth_mod, auth_admin) VALUES (2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1);
|
INSERT INTO phpbb_auth_access (group_id, forum_id, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_announce, auth_sticky, auth_votecreate, auth_vote, auth_mod, auth_admin) VALUES (2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1);
|
||||||
|
|
||||||
|
|
|
@ -27,26 +27,6 @@ CREATE TABLE phpbb_auth_access (
|
||||||
auth_admin tinyint(1) DEFAULT '0' NOT NULL
|
auth_admin tinyint(1) DEFAULT '0' NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
#
|
|
||||||
# Table structure for table 'phpbb_auth_forums'
|
|
||||||
#
|
|
||||||
|
|
||||||
DROP TABLE IF EXISTS phpbb_auth_forums;
|
|
||||||
CREATE TABLE phpbb_auth_forums (
|
|
||||||
forum_id int(11) DEFAULT '0' NOT NULL,
|
|
||||||
auth_view tinyint(4) DEFAULT '0' NOT NULL,
|
|
||||||
auth_read tinyint(4) DEFAULT '0' NOT NULL,
|
|
||||||
auth_post tinyint(4) DEFAULT '0' NOT NULL,
|
|
||||||
auth_reply tinyint(4) DEFAULT '0' NOT NULL,
|
|
||||||
auth_edit tinyint(4) DEFAULT '0' NOT NULL,
|
|
||||||
auth_delete tinyint(4) DEFAULT '0' NOT NULL,
|
|
||||||
auth_announce tinyint(4) DEFAULT '0' NOT NULL,
|
|
||||||
auth_sticky tinyint(4) DEFAULT '0' NOT NULL,
|
|
||||||
auth_votecreate tinyint(4) DEFAULT '0' NOT NULL,
|
|
||||||
auth_vote tinyint(4) DEFAULT '0' NOT NULL,
|
|
||||||
auth_attachments tinyint(4) DEFAULT '0' NOT NULL
|
|
||||||
);
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Table structure for table 'phpbb_user_group'
|
# Table structure for table 'phpbb_user_group'
|
||||||
#
|
#
|
||||||
|
|
|
@ -20,24 +20,6 @@ CREATE SEQUENCE phpbb_users_id_seq start 1 increment 1 maxvalue 2147483647 minva
|
||||||
CREATE SEQUENCE phpbb_words_id_seq start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1;
|
CREATE SEQUENCE phpbb_words_id_seq start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1;
|
||||||
CREATE SEQUENCE phpbb_groups_id_seq start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1;
|
CREATE SEQUENCE phpbb_groups_id_seq start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1;
|
||||||
|
|
||||||
/* --------------------------------------------------------
|
|
||||||
Table structure for table phpbb_auth_forums
|
|
||||||
-------------------------------------------------------- */
|
|
||||||
CREATE TABLE phpbb_auth_forums (
|
|
||||||
forum_id int4 DEFAULT '0' NOT NULL,
|
|
||||||
auth_view int2 DEFAULT '0' NOT NULL,
|
|
||||||
auth_read int2 DEFAULT '0' NOT NULL,
|
|
||||||
auth_post int2 DEFAULT '0' NOT NULL,
|
|
||||||
auth_reply int2 DEFAULT '0' NOT NULL,
|
|
||||||
auth_edit int2 DEFAULT '0' NOT NULL,
|
|
||||||
auth_delete int2 DEFAULT '0' NOT NULL,
|
|
||||||
auth_announce int2 DEFAULT '0' NOT NULL,
|
|
||||||
auth_sticky int2 DEFAULT '0' NOT NULL,
|
|
||||||
auth_votecreate int2 DEFAULT '0' NOT NULL,
|
|
||||||
auth_vote int2 DEFAULT '0' NOT NULL,
|
|
||||||
auth_attachments int2 DEFAULT '0' NOT NULL
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
/* --------------------------------------------------------
|
/* --------------------------------------------------------
|
||||||
Table structure for table phpbb_auth_access
|
Table structure for table phpbb_auth_access
|
||||||
|
|
Loading…
Add table
Reference in a new issue