⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 schema_data.sql

📁 通过基于Windows的图形化界面
💻 SQL
📖 第 1 页 / 共 5 页
字号:
# -- Admin related auth optionsINSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_aauth', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_attach', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_authgroups', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_authusers', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_backup', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_ban', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_bbcode', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_board', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_bots', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_clearlogs', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_email', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_fauth', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_forum', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_forumadd', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_forumdel', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_group', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_groupadd', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_groupdel', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_icons', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_jabber', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_language', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_mauth', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_modules', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_names', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_phpinfo', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_profile', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_prune', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_ranks', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_reasons', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_roles', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_search', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_server', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_styles', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_switchperm', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_uauth', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_user', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_userdel', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_viewauth', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_viewlogs', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('a_words', 1);# -- User related auth optionsINSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_attach', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_chgavatar', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_chgcensors', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_chgemail', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_chggrp', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_chgname', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_chgpasswd', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_download', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_hideonline', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_ignoreflood', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_masspm', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_pm_attach', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_pm_bbcode', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_pm_delete', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_pm_download', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_pm_edit', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_pm_emailpm', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_pm_flash', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_pm_forward', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_pm_img', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_pm_printpm', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_pm_smilies', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_readpm', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_savedrafts', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_search', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_sendemail', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_sendim', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_sendpm', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_sig', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_viewonline', 1);INSERT INTO phpbb_acl_options (auth_option, is_global) VALUES ('u_viewprofile', 1);# -- standard auth rolesINSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_ADMIN_STANDARD', 'ROLE_DESCRIPTION_ADMIN_STANDARD', 'a_', 1);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_ADMIN_FORUM', 'ROLE_DESCRIPTION_ADMIN_FORUM', 'a_', 3);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_ADMIN_USERGROUP', 'ROLE_DESCRIPTION_ADMIN_USERGROUP', 'a_', 4);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_ADMIN_FULL', 'ROLE_DESCRIPTION_ADMIN_FULL', 'a_', 2);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_USER_FULL', 'ROLE_DESCRIPTION_USER_FULL', 'u_', 3);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_USER_STANDARD', 'ROLE_DESCRIPTION_USER_STANDARD', 'u_', 1);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_USER_LIMITED', 'ROLE_DESCRIPTION_USER_LIMITED', 'u_', 2);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_USER_NOPM', 'ROLE_DESCRIPTION_USER_NOPM', 'u_', 4);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_USER_NOAVATAR', 'ROLE_DESCRIPTION_USER_NOAVATAR', 'u_', 5);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_MOD_FULL', 'ROLE_DESCRIPTION_MOD_FULL', 'm_', 3);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_MOD_STANDARD', 'ROLE_DESCRIPTION_MOD_STANDARD', 'm_', 1);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_MOD_SIMPLE', 'ROLE_DESCRIPTION_MOD_SIMPLE', 'm_', 2);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_MOD_QUEUE', 'ROLE_DESCRIPTION_MOD_QUEUE', 'm_', 4);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_FORUM_FULL', 'ROLE_DESCRIPTION_FORUM_FULL', 'f_', 7);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_FORUM_STANDARD', 'ROLE_DESCRIPTION_FORUM_STANDARD', 'f_', 5);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_FORUM_NOACCESS', 'ROLE_DESCRIPTION_FORUM_NOACCESS', 'f_', 1);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_FORUM_READONLY', 'ROLE_DESCRIPTION_FORUM_READONLY', 'f_', 2);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_FORUM_LIMITED', 'ROLE_DESCRIPTION_FORUM_LIMITED', 'f_', 3);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_FORUM_BOT', 'ROLE_DESCRIPTION_FORUM_BOT', 'f_', 9);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_FORUM_ONQUEUE', 'ROLE_DESCRIPTION_FORUM_ONQUEUE', 'f_', 8);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_FORUM_POLLS', 'ROLE_DESCRIPTION_FORUM_POLLS', 'f_', 6);INSERT INTO phpbb_acl_roles (role_name, role_description, role_type, role_order) VALUES ('ROLE_FORUM_LIMITED_POLLS', 'ROLE_DESCRIPTION_FORUM_LIMITED_POLLS', 'f_', 4);# -- phpbb_stylesINSERT INTO phpbb_styles (style_name, style_copyright, template_id, theme_id, imageset_id) VALUES ('subSilver', '© phpBB Group', 1, 1, 1);# -- phpbb_styles_imagesetINSERT INTO phpbb_styles_imageset (imageset_name, imageset_copyright, imageset_path, site_logo, upload_bar, poll_left, poll_center, poll_right, icon_friend, icon_foe, forum_link, forum_read, forum_read_locked, forum_read_subforum, forum_unread, forum_unread_locked, forum_unread_subforum, topic_moved, topic_read, topic_read_mine, topic_read_hot, topic_read_hot_mine, topic_read_locked, topic_read_locked_mine, topic_unread, topic_unread_mine, topic_unread_hot, topic_unread_hot_mine, topic_unread_locked, topic_unread_locked_mine, sticky_read, sticky_read_mine, sticky_read_locked, sticky_read_locked_mine, sticky_unread, sticky_unread_mine, sticky_unread_locked, sticky_unread_locked_mine, announce_read, announce_read_mine, announce_read_locked, announce_read_locked_mine, announce_unread, announce_unread_mine, announce_unread_locked, announce_unread_locked_mine, global_read, global_read_mine, global_read_locked, global_read_locked_mine, global_unread, global_unread_mine, global_unread_locked, global_unread_locked_mine, pm_read, pm_unread, icon_contact_aim, icon_contact_email, icon_contact_icq, icon_contact_jabber, icon_contact_msnm, icon_contact_pm, icon_contact_yahoo, icon_contact_www, icon_post_delete, icon_post_edit, icon_post_info, icon_post_quote, icon_post_report, icon_post_target, icon_post_target_unread, icon_topic_attach, icon_topic_latest, icon_topic_newest, icon_topic_reported, icon_topic_unapproved, icon_user_online, icon_user_offline, icon_user_profile, icon_user_search, icon_user_warn, button_pm_forward, button_pm_new, button_pm_reply, button_topic_locked, button_topic_new, button_topic_reply, user_icon1, user_icon2, user_icon3, user_icon4, user_icon5, user_icon6, user_icon7, user_icon8, user_icon9, user_icon10) VALUES ('subSilver', '© phpBB Group, 2003', 'subSilver', 'site_logo.gif*94*170', 'upload_bar.gif*16*280', 'poll_left.gif*12*4', 'poll_center.gif*12*', 'poll_right.gif*12*4', '', '', 'forum_link.gif*25*46', 'forum_read.gif*25*46', 'forum_read_locked.gif*25*46', 'forum_read_subforum.gif*25*46', 'forum_unread.gif*25*46', 'forum_unread_locked.gif*25*46', 'forum_unread_subforum.gif*25*46', 'topic_moved.gif*18*19', 'topic_read.gif*18*19', 'topic_read_mine.gif*18*19', 'topic_read_hot.gif*18*19', 'topic_read_hot_mine.gif*18*19', 'topic_read_locked.gif*18*19', 'topic_read_locked_mine.gif*18*19', 'topic_unread.gif*18*19', 'topic_unread_mine.gif*18*19', 'topic_unread_hot.gif*18*19', 'topic_unread_hot_mine.gif*18*19', 'topic_unread_locked.gif*18*19', 'topic_unread_locked_mine.gif*18*19', 'sticky_read.gif*18*19', 'sticky_read_mine.gif*18*19', 'sticky_read_locked.gif*18*19', 'sticky_read_locked_mine.gif*18*19', 'sticky_unread.gif*18*19', 'sticky_unread_mine.gif*18*19', 'sticky_unread_locked.gif*18*19', 'sticky_unread_locked_mine.gif*18*19', 'announce_read.gif*18*19', 'announce_read_mine.gif*18*19', 'announce_read_locked.gif*18*19', 'announce_read_locked_mine.gif*18*19', 'announce_unread.gif*18*19', 'announce_unread_mine.gif*18*19', 'announce_unread_locked.gif*18*19', 'announce_unread_locked_mine.gif*18*19', 'announce_read.gif*18*19', 'announce_read_mine.gif*18*19', 'announce_read_locked.gif*18*19', 'announce_read_locked_mine.gif*18*19', 'announce_unread.gif*18*19', 'announce_unread_mine.gif*18*19', 'announce_unread_locked.gif*18*19', 'announce_unread_locked_mine.gif*18*19', 'topic_read.gif*18*19', 'topic_unread.gif*18*19', '{LANG}/icon_contact_aim.gif*20*72', '{LANG}/icon_contact_email.gif*20*72', '{LANG}/icon_contact_icq.gif*20*72', '{LANG}/icon_contact_jabber.gif*20*72', '{LANG}/icon_contact_msnm.gif*20*72', '{LANG}/icon_contact_pm.gif*20*72', '{LANG}/icon_contact_yahoo.gif*20*72', '{LANG}/icon_contact_www.gif*20*72', '{LANG}/icon_post_delete.gif*20*20', '{LANG}/icon_post_edit.gif*20*90', '{LANG}/icon_post_info.gif*20*20', '{LANG}/icon_post_quote.gif*20*90', '{LANG}/icon_post_report.gif*20*20', 'icon_post_target.gif*9*12', 'icon_post_target_unread.gif*9*12', 'icon_topic_attach.gif*18*14', 'icon_topic_latest.gif*9*18', 'icon_topic_newest.gif*9*18', 'icon_topic_reported.gif*18*19', 'icon_topic_unapproved.gif*18*19', '{LANG}/icon_user_online.gif*20*72', '{LANG}/icon_user_offline.gif*20*72', '{LANG}/icon_user_profile.gif*20*72', '{LANG}/icon_user_search.gif*20*72', '{LANG}/icon_user_warn.gif*20*20', '', '{LANG}/button_pm_new.gif*27*97', '{LANG}/button_pm_reply.gif*20*90', '{LANG}/button_topic_locked.gif*27*97', '{LANG}/button_topic_new.gif*27*97', '{LANG}/button_topic_reply.gif*27*97', '', '', '', '', '', '', '', '', '', '');# -- phpbb_styles_templateINSERT INTO phpbb_styles_template (template_name, template_copyright, template_path) VALUES ('subSilver', '© phpBB Group', 'subSilver');# -- phpbb_styles_themeINSERT INTO phpbb_styles_theme (theme_name, theme_copyright, theme_path, theme_data) VALUES ('subSilver', '© phpBB Group', 'subSilver', '');# -- ForumsINSERT INTO phpbb_forums (forum_name, forum_desc, left_id, right_id, parent_id, forum_type, forum_posts, forum_topics, forum_topics_real, forum_last_post_id, forum_last_poster_id, forum_last_poster_name, forum_last_poster_colour, forum_last_post_time, forum_link, forum_password, forum_image, forum_rules, forum_rules_link, forum_rules_uid, forum_desc_uid, prune_days, prune_viewed, forum_parents) VALUES ('My first Category', '', 1, 4, 0, 0, 1, 1, 1, 1, 2, 'Admin', 'AA0000', 972086460, '', '', '', '', '', '', '', 0, 0, '');INSERT INTO phpbb_forums (forum_name, forum_desc, left_id, right_id, parent_id, forum_type, forum_posts, forum_topics, forum_topics_real, forum_last_post_id, forum_last_poster_id, forum_last_poster_name, forum_last_poster_colour, forum_last_post_subject, forum_last_post_time, forum_link, forum_password, forum_image, forum_rules, forum_rules_link, forum_rules_uid, forum_desc_uid, prune_days, prune_viewed, forum_parents) VALUES ('Test Forum 1', 'This is just a test forum.', 2, 3, 1, 1, 1, 1, 1, 1, 2, 'Admin', 'AA0000', 'Welcome to phpBB 3', 972086460, '', '', '', '', '', '', '', 0, 0, '');# -- Users / Anonymous userINSERT INTO phpbb_users (user_type, group_id, username, username_clean, user_regdate, user_password, user_email, user_lang, user_style, user_rank, user_colour, user_posts, user_permissions, user_ip, user_birthday, user_lastpage, user_last_confirm_key, user_post_sortby_type, user_post_sortby_dir, user_topic_sortby_type, user_topic_sortby_dir, user_avatar, user_sig, user_sig_bbcode_uid, user_from, user_icq, user_aim, user_yim, user_msnm, user_jabber, user_website, user_occ, user_interests, user_actkey, user_newpasswd, user_allow_massemail) VALUES (2, 1, 'Anonymous', 'anonymous', 0, '', '', 'en', 1, 0, '', 0, '', '', '', '', '', 't', 'a', 't', 'd', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0);# -- username: Admin    password: admin (change this or remove it once everything is working!)INSERT INTO phpbb_users (user_type, group_id, username, username_clean, user_regdate, user_password, user_email, user_lang, user_style, user_rank, user_colour, user_posts, user_permissions, user_ip, user_birthday, user_lastpage, user_last_confirm_key, user_post_sortby_type, user_post_sortby_dir, user_topic_sortby_type, user_topic_sortby_dir, user_avatar, user_sig, user_sig_bbcode_uid, user_from, user_icq, user_aim, user_yim, user_msnm, user_jabber, user_website, user_occ, user_interests, user_actkey, user_newpasswd) VALUES (3, 5, 'Admin', 'admin', 0, '21232f297a57a5a743894a0e4a801fc3', 'admin@yourdomain.com', 'en', 1, 1, 'AA0000', 1, '', '', '', '', '', 't', 'a', 't', 'd', '', '', '', '', '', '', '', '', '', '', '', '', '', '');# -- GroupsINSERT INTO phpbb_groups (group_name, group_type, group_founder_manage, group_colour, group_legend, group_avatar, group_desc, group_desc_uid) VALUES ('GUESTS', 3, 0, '', 0, '', '', '');INSERT INTO phpbb_groups (group_name, group_type, group_founder_manage, group_colour, group_legend, group_avatar, group_desc, group_desc_uid) VALUES ('REGISTERED', 3, 0, '', 0, '', '', '');INSERT INTO phpbb_groups (group_name, group_type, group_founder_manage, group_colour, group_legend, group_avatar, group_desc, group_desc_uid) VALUES ('REGISTERED_COPPA', 3, 0, '', 0, '', '', '');INSERT INTO phpbb_groups (group_name, group_type, group_founder_manage, group_colour, group_legend, group_avatar, group_desc, group_desc_uid) VALUES ('GLOBAL_MODERATORS', 3, 0, '00AA00', 1, '', '', '');INSERT INTO phpbb_groups (group_name, group_type, group_founder_manage, group_colour, group_legend, group_avatar, group_desc, group_desc_uid) VALUES ('ADMINISTRATORS', 3, 1, 'AA0000', 1, '', '', '');INSERT INTO phpbb_groups (group_name, group_type, group_founder_manage, group_colour, group_legend, group_avatar, group_desc, group_desc_uid) VALUES ('BOTS', 3, 0, '9E8DA7', 0, '', '', '');# -- User -> GroupINSERT INTO phpbb_user_group (group_id, user_id, user_pending, group_leader) VALUES (1, 1, 0, 0);INSERT INTO phpbb_user_group (group_id, user_id, user_pending, group_leader) VALUES (2, 2, 0, 0);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -