main.sql 67 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555
  1. -- MariaDB dump 10.19 Distrib 10.6.8-MariaDB, for Linux (x86_64)
  2. --
  3. -- Host: localhost Database: bitnami_phpbb
  4. -- ------------------------------------------------------
  5. -- Server version 10.6.8-MariaDB
  6. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  7. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  8. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  9. /*!40101 SET NAMES utf8 */;
  10. /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
  11. /*!40103 SET TIME_ZONE='+00:00' */;
  12. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  13. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  14. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  15. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  16. --
  17. -- Table structure for table `phpbb_acl_groups`
  18. --
  19. DROP TABLE IF EXISTS `phpbb_acl_groups`;
  20. /*!40101 SET @saved_cs_client = @@character_set_client */;
  21. /*!40101 SET character_set_client = utf8 */;
  22. CREATE TABLE `phpbb_acl_groups` (
  23. `group_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  24. `forum_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  25. `auth_option_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  26. `auth_role_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  27. `auth_setting` tinyint(2) NOT NULL DEFAULT 0,
  28. KEY `group_id` (`group_id`),
  29. KEY `auth_opt_id` (`auth_option_id`),
  30. KEY `auth_role_id` (`auth_role_id`)
  31. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  32. /*!40101 SET character_set_client = @saved_cs_client */;
  33. --
  34. -- Table structure for table `phpbb_acl_options`
  35. --
  36. DROP TABLE IF EXISTS `phpbb_acl_options`;
  37. /*!40101 SET @saved_cs_client = @@character_set_client */;
  38. /*!40101 SET character_set_client = utf8 */;
  39. CREATE TABLE `phpbb_acl_options` (
  40. `auth_option_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  41. `auth_option` varchar(50) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  42. `is_global` tinyint(1) unsigned NOT NULL DEFAULT 0,
  43. `is_local` tinyint(1) unsigned NOT NULL DEFAULT 0,
  44. `founder_only` tinyint(1) unsigned NOT NULL DEFAULT 0,
  45. PRIMARY KEY (`auth_option_id`),
  46. UNIQUE KEY `auth_option` (`auth_option`)
  47. ) ENGINE=InnoDB AUTO_INCREMENT=126 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  48. /*!40101 SET character_set_client = @saved_cs_client */;
  49. --
  50. -- Table structure for table `phpbb_acl_roles`
  51. --
  52. DROP TABLE IF EXISTS `phpbb_acl_roles`;
  53. /*!40101 SET @saved_cs_client = @@character_set_client */;
  54. /*!40101 SET character_set_client = utf8 */;
  55. CREATE TABLE `phpbb_acl_roles` (
  56. `role_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  57. `role_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  58. `role_description` text COLLATE utf8mb3_bin NOT NULL,
  59. `role_type` varchar(10) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  60. `role_order` smallint(4) unsigned NOT NULL DEFAULT 0,
  61. PRIMARY KEY (`role_id`),
  62. KEY `role_type` (`role_type`),
  63. KEY `role_order` (`role_order`)
  64. ) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  65. /*!40101 SET character_set_client = @saved_cs_client */;
  66. --
  67. -- Table structure for table `phpbb_acl_roles_data`
  68. --
  69. DROP TABLE IF EXISTS `phpbb_acl_roles_data`;
  70. /*!40101 SET @saved_cs_client = @@character_set_client */;
  71. /*!40101 SET character_set_client = utf8 */;
  72. CREATE TABLE `phpbb_acl_roles_data` (
  73. `role_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  74. `auth_option_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  75. `auth_setting` tinyint(2) NOT NULL DEFAULT 0,
  76. PRIMARY KEY (`role_id`,`auth_option_id`),
  77. KEY `ath_op_id` (`auth_option_id`)
  78. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  79. /*!40101 SET character_set_client = @saved_cs_client */;
  80. --
  81. -- Table structure for table `phpbb_acl_users`
  82. --
  83. DROP TABLE IF EXISTS `phpbb_acl_users`;
  84. /*!40101 SET @saved_cs_client = @@character_set_client */;
  85. /*!40101 SET character_set_client = utf8 */;
  86. CREATE TABLE `phpbb_acl_users` (
  87. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  88. `forum_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  89. `auth_option_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  90. `auth_role_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  91. `auth_setting` tinyint(2) NOT NULL DEFAULT 0,
  92. KEY `user_id` (`user_id`),
  93. KEY `auth_option_id` (`auth_option_id`),
  94. KEY `auth_role_id` (`auth_role_id`)
  95. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  96. /*!40101 SET character_set_client = @saved_cs_client */;
  97. --
  98. -- Table structure for table `phpbb_attachments`
  99. --
  100. DROP TABLE IF EXISTS `phpbb_attachments`;
  101. /*!40101 SET @saved_cs_client = @@character_set_client */;
  102. /*!40101 SET character_set_client = utf8 */;
  103. CREATE TABLE `phpbb_attachments` (
  104. `attach_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  105. `post_msg_id` int(10) unsigned NOT NULL DEFAULT 0,
  106. `topic_id` int(10) unsigned NOT NULL DEFAULT 0,
  107. `in_message` tinyint(1) unsigned NOT NULL DEFAULT 0,
  108. `poster_id` int(10) unsigned NOT NULL DEFAULT 0,
  109. `is_orphan` tinyint(1) unsigned NOT NULL DEFAULT 1,
  110. `physical_filename` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  111. `real_filename` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  112. `download_count` mediumint(8) unsigned NOT NULL DEFAULT 0,
  113. `attach_comment` text COLLATE utf8mb3_bin NOT NULL,
  114. `extension` varchar(100) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  115. `mimetype` varchar(100) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  116. `filesize` int(20) unsigned NOT NULL DEFAULT 0,
  117. `filetime` int(11) unsigned NOT NULL DEFAULT 0,
  118. `thumbnail` tinyint(1) unsigned NOT NULL DEFAULT 0,
  119. PRIMARY KEY (`attach_id`),
  120. KEY `filetime` (`filetime`),
  121. KEY `post_msg_id` (`post_msg_id`),
  122. KEY `topic_id` (`topic_id`),
  123. KEY `poster_id` (`poster_id`),
  124. KEY `is_orphan` (`is_orphan`)
  125. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  126. /*!40101 SET character_set_client = @saved_cs_client */;
  127. --
  128. -- Table structure for table `phpbb_banlist`
  129. --
  130. DROP TABLE IF EXISTS `phpbb_banlist`;
  131. /*!40101 SET @saved_cs_client = @@character_set_client */;
  132. /*!40101 SET character_set_client = utf8 */;
  133. CREATE TABLE `phpbb_banlist` (
  134. `ban_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  135. `ban_userid` int(10) unsigned NOT NULL DEFAULT 0,
  136. `ban_ip` varchar(40) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  137. `ban_email` varchar(100) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  138. `ban_start` int(11) unsigned NOT NULL DEFAULT 0,
  139. `ban_end` int(11) unsigned NOT NULL DEFAULT 0,
  140. `ban_exclude` tinyint(1) unsigned NOT NULL DEFAULT 0,
  141. `ban_reason` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  142. `ban_give_reason` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  143. PRIMARY KEY (`ban_id`),
  144. KEY `ban_end` (`ban_end`),
  145. KEY `ban_user` (`ban_userid`,`ban_exclude`),
  146. KEY `ban_email` (`ban_email`,`ban_exclude`),
  147. KEY `ban_ip` (`ban_ip`,`ban_exclude`)
  148. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  149. /*!40101 SET character_set_client = @saved_cs_client */;
  150. --
  151. -- Table structure for table `phpbb_bbcodes`
  152. --
  153. DROP TABLE IF EXISTS `phpbb_bbcodes`;
  154. /*!40101 SET @saved_cs_client = @@character_set_client */;
  155. /*!40101 SET character_set_client = utf8 */;
  156. CREATE TABLE `phpbb_bbcodes` (
  157. `bbcode_id` smallint(4) unsigned NOT NULL DEFAULT 0,
  158. `bbcode_tag` varchar(16) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  159. `bbcode_helpline` text COLLATE utf8mb3_bin NOT NULL,
  160. `display_on_posting` tinyint(1) unsigned NOT NULL DEFAULT 0,
  161. `bbcode_match` text COLLATE utf8mb3_bin NOT NULL,
  162. `bbcode_tpl` mediumtext COLLATE utf8mb3_bin NOT NULL,
  163. `first_pass_match` mediumtext COLLATE utf8mb3_bin NOT NULL,
  164. `first_pass_replace` mediumtext COLLATE utf8mb3_bin NOT NULL,
  165. `second_pass_match` mediumtext COLLATE utf8mb3_bin NOT NULL,
  166. `second_pass_replace` mediumtext COLLATE utf8mb3_bin NOT NULL,
  167. PRIMARY KEY (`bbcode_id`),
  168. KEY `display_on_post` (`display_on_posting`)
  169. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  170. /*!40101 SET character_set_client = @saved_cs_client */;
  171. --
  172. -- Table structure for table `phpbb_bookmarks`
  173. --
  174. DROP TABLE IF EXISTS `phpbb_bookmarks`;
  175. /*!40101 SET @saved_cs_client = @@character_set_client */;
  176. /*!40101 SET character_set_client = utf8 */;
  177. CREATE TABLE `phpbb_bookmarks` (
  178. `topic_id` int(10) unsigned NOT NULL DEFAULT 0,
  179. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  180. PRIMARY KEY (`topic_id`,`user_id`)
  181. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  182. /*!40101 SET character_set_client = @saved_cs_client */;
  183. --
  184. -- Table structure for table `phpbb_bots`
  185. --
  186. DROP TABLE IF EXISTS `phpbb_bots`;
  187. /*!40101 SET @saved_cs_client = @@character_set_client */;
  188. /*!40101 SET character_set_client = utf8 */;
  189. CREATE TABLE `phpbb_bots` (
  190. `bot_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  191. `bot_active` tinyint(1) unsigned NOT NULL DEFAULT 1,
  192. `bot_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  193. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  194. `bot_agent` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  195. `bot_ip` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  196. PRIMARY KEY (`bot_id`),
  197. KEY `bot_active` (`bot_active`)
  198. ) ENGINE=InnoDB AUTO_INCREMENT=56 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  199. /*!40101 SET character_set_client = @saved_cs_client */;
  200. --
  201. -- Table structure for table `phpbb_config`
  202. --
  203. DROP TABLE IF EXISTS `phpbb_config`;
  204. /*!40101 SET @saved_cs_client = @@character_set_client */;
  205. /*!40101 SET character_set_client = utf8 */;
  206. CREATE TABLE `phpbb_config` (
  207. `config_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  208. `config_value` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  209. `is_dynamic` tinyint(1) unsigned NOT NULL DEFAULT 0,
  210. PRIMARY KEY (`config_name`),
  211. KEY `is_dynamic` (`is_dynamic`)
  212. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  213. /*!40101 SET character_set_client = @saved_cs_client */;
  214. --
  215. -- Table structure for table `phpbb_config_text`
  216. --
  217. DROP TABLE IF EXISTS `phpbb_config_text`;
  218. /*!40101 SET @saved_cs_client = @@character_set_client */;
  219. /*!40101 SET character_set_client = utf8 */;
  220. CREATE TABLE `phpbb_config_text` (
  221. `config_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  222. `config_value` mediumtext COLLATE utf8mb3_bin NOT NULL,
  223. PRIMARY KEY (`config_name`)
  224. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  225. /*!40101 SET character_set_client = @saved_cs_client */;
  226. --
  227. -- Table structure for table `phpbb_confirm`
  228. --
  229. DROP TABLE IF EXISTS `phpbb_confirm`;
  230. /*!40101 SET @saved_cs_client = @@character_set_client */;
  231. /*!40101 SET character_set_client = utf8 */;
  232. CREATE TABLE `phpbb_confirm` (
  233. `confirm_id` char(32) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  234. `session_id` char(32) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  235. `confirm_type` tinyint(3) NOT NULL DEFAULT 0,
  236. `code` varchar(8) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  237. `seed` int(10) unsigned NOT NULL DEFAULT 0,
  238. `attempts` mediumint(8) unsigned NOT NULL DEFAULT 0,
  239. PRIMARY KEY (`session_id`,`confirm_id`),
  240. KEY `confirm_type` (`confirm_type`)
  241. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  242. /*!40101 SET character_set_client = @saved_cs_client */;
  243. --
  244. -- Table structure for table `phpbb_disallow`
  245. --
  246. DROP TABLE IF EXISTS `phpbb_disallow`;
  247. /*!40101 SET @saved_cs_client = @@character_set_client */;
  248. /*!40101 SET character_set_client = utf8 */;
  249. CREATE TABLE `phpbb_disallow` (
  250. `disallow_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  251. `disallow_username` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  252. PRIMARY KEY (`disallow_id`)
  253. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  254. /*!40101 SET character_set_client = @saved_cs_client */;
  255. --
  256. -- Table structure for table `phpbb_drafts`
  257. --
  258. DROP TABLE IF EXISTS `phpbb_drafts`;
  259. /*!40101 SET @saved_cs_client = @@character_set_client */;
  260. /*!40101 SET character_set_client = utf8 */;
  261. CREATE TABLE `phpbb_drafts` (
  262. `draft_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  263. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  264. `topic_id` int(10) unsigned NOT NULL DEFAULT 0,
  265. `forum_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  266. `save_time` int(11) unsigned NOT NULL DEFAULT 0,
  267. `draft_subject` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  268. `draft_message` mediumtext COLLATE utf8mb3_bin NOT NULL,
  269. PRIMARY KEY (`draft_id`),
  270. KEY `save_time` (`save_time`)
  271. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  272. /*!40101 SET character_set_client = @saved_cs_client */;
  273. --
  274. -- Table structure for table `phpbb_ext`
  275. --
  276. DROP TABLE IF EXISTS `phpbb_ext`;
  277. /*!40101 SET @saved_cs_client = @@character_set_client */;
  278. /*!40101 SET character_set_client = utf8 */;
  279. CREATE TABLE `phpbb_ext` (
  280. `ext_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  281. `ext_active` tinyint(1) unsigned NOT NULL DEFAULT 0,
  282. `ext_state` text COLLATE utf8mb3_bin NOT NULL,
  283. UNIQUE KEY `ext_name` (`ext_name`)
  284. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  285. /*!40101 SET character_set_client = @saved_cs_client */;
  286. --
  287. -- Table structure for table `phpbb_extension_groups`
  288. --
  289. DROP TABLE IF EXISTS `phpbb_extension_groups`;
  290. /*!40101 SET @saved_cs_client = @@character_set_client */;
  291. /*!40101 SET character_set_client = utf8 */;
  292. CREATE TABLE `phpbb_extension_groups` (
  293. `group_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  294. `group_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  295. `cat_id` tinyint(2) NOT NULL DEFAULT 0,
  296. `allow_group` tinyint(1) unsigned NOT NULL DEFAULT 0,
  297. `download_mode` tinyint(1) unsigned NOT NULL DEFAULT 1,
  298. `upload_icon` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  299. `max_filesize` int(20) unsigned NOT NULL DEFAULT 0,
  300. `allowed_forums` text COLLATE utf8mb3_bin NOT NULL,
  301. `allow_in_pm` tinyint(1) unsigned NOT NULL DEFAULT 0,
  302. PRIMARY KEY (`group_id`)
  303. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  304. /*!40101 SET character_set_client = @saved_cs_client */;
  305. --
  306. -- Table structure for table `phpbb_extensions`
  307. --
  308. DROP TABLE IF EXISTS `phpbb_extensions`;
  309. /*!40101 SET @saved_cs_client = @@character_set_client */;
  310. /*!40101 SET character_set_client = utf8 */;
  311. CREATE TABLE `phpbb_extensions` (
  312. `extension_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  313. `group_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  314. `extension` varchar(100) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  315. PRIMARY KEY (`extension_id`)
  316. ) ENGINE=InnoDB AUTO_INCREMENT=55 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  317. /*!40101 SET character_set_client = @saved_cs_client */;
  318. --
  319. -- Table structure for table `phpbb_forums`
  320. --
  321. DROP TABLE IF EXISTS `phpbb_forums`;
  322. /*!40101 SET @saved_cs_client = @@character_set_client */;
  323. /*!40101 SET character_set_client = utf8 */;
  324. CREATE TABLE `phpbb_forums` (
  325. `forum_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  326. `parent_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  327. `left_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  328. `right_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  329. `forum_parents` mediumtext COLLATE utf8mb3_bin NOT NULL,
  330. `forum_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  331. `forum_desc` text COLLATE utf8mb3_bin NOT NULL,
  332. `forum_desc_bitfield` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  333. `forum_desc_options` int(11) unsigned NOT NULL DEFAULT 7,
  334. `forum_desc_uid` varchar(8) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  335. `forum_link` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  336. `forum_password` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  337. `forum_style` mediumint(8) unsigned NOT NULL DEFAULT 0,
  338. `forum_image` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  339. `forum_rules` text COLLATE utf8mb3_bin NOT NULL,
  340. `forum_rules_link` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  341. `forum_rules_bitfield` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  342. `forum_rules_options` int(11) unsigned NOT NULL DEFAULT 7,
  343. `forum_rules_uid` varchar(8) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  344. `forum_topics_per_page` smallint(4) unsigned NOT NULL DEFAULT 0,
  345. `forum_type` tinyint(4) NOT NULL DEFAULT 0,
  346. `forum_status` tinyint(4) NOT NULL DEFAULT 0,
  347. `forum_last_post_id` int(10) unsigned NOT NULL DEFAULT 0,
  348. `forum_last_poster_id` int(10) unsigned NOT NULL DEFAULT 0,
  349. `forum_last_post_subject` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  350. `forum_last_post_time` int(11) unsigned NOT NULL DEFAULT 0,
  351. `forum_last_poster_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  352. `forum_last_poster_colour` varchar(6) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  353. `forum_flags` tinyint(4) NOT NULL DEFAULT 32,
  354. `display_on_index` tinyint(1) unsigned NOT NULL DEFAULT 1,
  355. `enable_indexing` tinyint(1) unsigned NOT NULL DEFAULT 1,
  356. `enable_icons` tinyint(1) unsigned NOT NULL DEFAULT 1,
  357. `enable_prune` tinyint(1) unsigned NOT NULL DEFAULT 0,
  358. `prune_next` int(11) unsigned NOT NULL DEFAULT 0,
  359. `prune_days` mediumint(8) unsigned NOT NULL DEFAULT 0,
  360. `prune_viewed` mediumint(8) unsigned NOT NULL DEFAULT 0,
  361. `prune_freq` mediumint(8) unsigned NOT NULL DEFAULT 0,
  362. `display_subforum_list` tinyint(1) unsigned NOT NULL DEFAULT 1,
  363. `display_subforum_limit` tinyint(1) unsigned NOT NULL DEFAULT 0,
  364. `forum_options` int(20) unsigned NOT NULL DEFAULT 0,
  365. `enable_shadow_prune` tinyint(1) unsigned NOT NULL DEFAULT 0,
  366. `prune_shadow_days` mediumint(8) unsigned NOT NULL DEFAULT 7,
  367. `prune_shadow_freq` mediumint(8) unsigned NOT NULL DEFAULT 1,
  368. `prune_shadow_next` int(11) NOT NULL DEFAULT 0,
  369. `forum_posts_approved` mediumint(8) unsigned NOT NULL DEFAULT 0,
  370. `forum_posts_unapproved` mediumint(8) unsigned NOT NULL DEFAULT 0,
  371. `forum_posts_softdeleted` mediumint(8) unsigned NOT NULL DEFAULT 0,
  372. `forum_topics_approved` mediumint(8) unsigned NOT NULL DEFAULT 0,
  373. `forum_topics_unapproved` mediumint(8) unsigned NOT NULL DEFAULT 0,
  374. `forum_topics_softdeleted` mediumint(8) unsigned NOT NULL DEFAULT 0,
  375. PRIMARY KEY (`forum_id`),
  376. KEY `left_right_id` (`left_id`,`right_id`),
  377. KEY `forum_lastpost_id` (`forum_last_post_id`)
  378. ) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  379. /*!40101 SET character_set_client = @saved_cs_client */;
  380. --
  381. -- Table structure for table `phpbb_forums_access`
  382. --
  383. DROP TABLE IF EXISTS `phpbb_forums_access`;
  384. /*!40101 SET @saved_cs_client = @@character_set_client */;
  385. /*!40101 SET character_set_client = utf8 */;
  386. CREATE TABLE `phpbb_forums_access` (
  387. `forum_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  388. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  389. `session_id` char(32) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  390. PRIMARY KEY (`forum_id`,`user_id`,`session_id`)
  391. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  392. /*!40101 SET character_set_client = @saved_cs_client */;
  393. --
  394. -- Table structure for table `phpbb_forums_track`
  395. --
  396. DROP TABLE IF EXISTS `phpbb_forums_track`;
  397. /*!40101 SET @saved_cs_client = @@character_set_client */;
  398. /*!40101 SET character_set_client = utf8 */;
  399. CREATE TABLE `phpbb_forums_track` (
  400. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  401. `forum_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  402. `mark_time` int(11) unsigned NOT NULL DEFAULT 0,
  403. PRIMARY KEY (`user_id`,`forum_id`)
  404. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  405. /*!40101 SET character_set_client = @saved_cs_client */;
  406. --
  407. -- Table structure for table `phpbb_forums_watch`
  408. --
  409. DROP TABLE IF EXISTS `phpbb_forums_watch`;
  410. /*!40101 SET @saved_cs_client = @@character_set_client */;
  411. /*!40101 SET character_set_client = utf8 */;
  412. CREATE TABLE `phpbb_forums_watch` (
  413. `forum_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  414. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  415. `notify_status` tinyint(1) unsigned NOT NULL DEFAULT 0,
  416. KEY `forum_id` (`forum_id`),
  417. KEY `user_id` (`user_id`),
  418. KEY `notify_stat` (`notify_status`)
  419. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  420. /*!40101 SET character_set_client = @saved_cs_client */;
  421. --
  422. -- Table structure for table `phpbb_groups`
  423. --
  424. DROP TABLE IF EXISTS `phpbb_groups`;
  425. /*!40101 SET @saved_cs_client = @@character_set_client */;
  426. /*!40101 SET character_set_client = utf8 */;
  427. CREATE TABLE `phpbb_groups` (
  428. `group_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  429. `group_type` tinyint(4) NOT NULL DEFAULT 1,
  430. `group_founder_manage` tinyint(1) unsigned NOT NULL DEFAULT 0,
  431. `group_skip_auth` tinyint(1) unsigned NOT NULL DEFAULT 0,
  432. `group_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  433. `group_desc` text COLLATE utf8mb3_bin NOT NULL,
  434. `group_desc_bitfield` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  435. `group_desc_options` int(11) unsigned NOT NULL DEFAULT 7,
  436. `group_desc_uid` varchar(8) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  437. `group_display` tinyint(1) unsigned NOT NULL DEFAULT 0,
  438. `group_avatar` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  439. `group_avatar_type` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  440. `group_avatar_width` smallint(4) unsigned NOT NULL DEFAULT 0,
  441. `group_avatar_height` smallint(4) unsigned NOT NULL DEFAULT 0,
  442. `group_rank` mediumint(8) unsigned NOT NULL DEFAULT 0,
  443. `group_colour` varchar(6) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  444. `group_sig_chars` mediumint(8) unsigned NOT NULL DEFAULT 0,
  445. `group_receive_pm` tinyint(1) unsigned NOT NULL DEFAULT 0,
  446. `group_message_limit` mediumint(8) unsigned NOT NULL DEFAULT 0,
  447. `group_legend` mediumint(8) unsigned NOT NULL DEFAULT 0,
  448. `group_max_recipients` mediumint(8) unsigned NOT NULL DEFAULT 0,
  449. PRIMARY KEY (`group_id`),
  450. KEY `group_legend_name` (`group_legend`,`group_name`)
  451. ) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  452. /*!40101 SET character_set_client = @saved_cs_client */;
  453. --
  454. -- Table structure for table `phpbb_icons`
  455. --
  456. DROP TABLE IF EXISTS `phpbb_icons`;
  457. /*!40101 SET @saved_cs_client = @@character_set_client */;
  458. /*!40101 SET character_set_client = utf8 */;
  459. CREATE TABLE `phpbb_icons` (
  460. `icons_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  461. `icons_url` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  462. `icons_width` tinyint(4) NOT NULL DEFAULT 0,
  463. `icons_height` tinyint(4) NOT NULL DEFAULT 0,
  464. `icons_alt` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  465. `icons_order` mediumint(8) unsigned NOT NULL DEFAULT 0,
  466. `display_on_posting` tinyint(1) unsigned NOT NULL DEFAULT 1,
  467. PRIMARY KEY (`icons_id`),
  468. KEY `display_on_posting` (`display_on_posting`)
  469. ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  470. /*!40101 SET character_set_client = @saved_cs_client */;
  471. --
  472. -- Table structure for table `phpbb_lang`
  473. --
  474. DROP TABLE IF EXISTS `phpbb_lang`;
  475. /*!40101 SET @saved_cs_client = @@character_set_client */;
  476. /*!40101 SET character_set_client = utf8 */;
  477. CREATE TABLE `phpbb_lang` (
  478. `lang_id` tinyint(4) NOT NULL AUTO_INCREMENT,
  479. `lang_iso` varchar(30) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  480. `lang_dir` varchar(30) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  481. `lang_english_name` varchar(100) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  482. `lang_local_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  483. `lang_author` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  484. PRIMARY KEY (`lang_id`),
  485. KEY `lang_iso` (`lang_iso`)
  486. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  487. /*!40101 SET character_set_client = @saved_cs_client */;
  488. --
  489. -- Table structure for table `phpbb_log`
  490. --
  491. DROP TABLE IF EXISTS `phpbb_log`;
  492. /*!40101 SET @saved_cs_client = @@character_set_client */;
  493. /*!40101 SET character_set_client = utf8 */;
  494. CREATE TABLE `phpbb_log` (
  495. `log_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  496. `log_type` tinyint(4) NOT NULL DEFAULT 0,
  497. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  498. `forum_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  499. `topic_id` int(10) unsigned NOT NULL DEFAULT 0,
  500. `post_id` int(10) unsigned NOT NULL DEFAULT 0,
  501. `reportee_id` int(10) unsigned NOT NULL DEFAULT 0,
  502. `log_ip` varchar(40) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  503. `log_time` int(11) unsigned NOT NULL DEFAULT 0,
  504. `log_operation` text COLLATE utf8mb3_bin NOT NULL,
  505. `log_data` mediumtext COLLATE utf8mb3_bin NOT NULL,
  506. PRIMARY KEY (`log_id`),
  507. KEY `log_type` (`log_type`),
  508. KEY `forum_id` (`forum_id`),
  509. KEY `topic_id` (`topic_id`),
  510. KEY `reportee_id` (`reportee_id`),
  511. KEY `user_id` (`user_id`),
  512. KEY `log_time` (`log_time`)
  513. ) ENGINE=InnoDB AUTO_INCREMENT=242 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  514. /*!40101 SET character_set_client = @saved_cs_client */;
  515. --
  516. -- Table structure for table `phpbb_login_attempts`
  517. --
  518. DROP TABLE IF EXISTS `phpbb_login_attempts`;
  519. /*!40101 SET @saved_cs_client = @@character_set_client */;
  520. /*!40101 SET character_set_client = utf8 */;
  521. CREATE TABLE `phpbb_login_attempts` (
  522. `attempt_ip` varchar(40) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  523. `attempt_browser` varchar(150) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  524. `attempt_forwarded_for` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  525. `attempt_time` int(11) unsigned NOT NULL DEFAULT 0,
  526. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  527. `username` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '0',
  528. `username_clean` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '0',
  529. KEY `att_ip` (`attempt_ip`,`attempt_time`),
  530. KEY `att_for` (`attempt_forwarded_for`,`attempt_time`),
  531. KEY `att_time` (`attempt_time`),
  532. KEY `user_id` (`user_id`)
  533. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  534. /*!40101 SET character_set_client = @saved_cs_client */;
  535. --
  536. -- Table structure for table `phpbb_migrations`
  537. --
  538. DROP TABLE IF EXISTS `phpbb_migrations`;
  539. /*!40101 SET @saved_cs_client = @@character_set_client */;
  540. /*!40101 SET character_set_client = utf8 */;
  541. CREATE TABLE `phpbb_migrations` (
  542. `migration_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  543. `migration_depends_on` text COLLATE utf8mb3_bin NOT NULL,
  544. `migration_schema_done` tinyint(1) unsigned NOT NULL DEFAULT 0,
  545. `migration_data_done` tinyint(1) unsigned NOT NULL DEFAULT 0,
  546. `migration_data_state` text COLLATE utf8mb3_bin NOT NULL,
  547. `migration_start_time` int(11) unsigned NOT NULL DEFAULT 0,
  548. `migration_end_time` int(11) unsigned NOT NULL DEFAULT 0,
  549. PRIMARY KEY (`migration_name`)
  550. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  551. /*!40101 SET character_set_client = @saved_cs_client */;
  552. --
  553. -- Table structure for table `phpbb_moderator_cache`
  554. --
  555. DROP TABLE IF EXISTS `phpbb_moderator_cache`;
  556. /*!40101 SET @saved_cs_client = @@character_set_client */;
  557. /*!40101 SET character_set_client = utf8 */;
  558. CREATE TABLE `phpbb_moderator_cache` (
  559. `forum_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  560. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  561. `username` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  562. `group_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  563. `group_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  564. `display_on_index` tinyint(1) unsigned NOT NULL DEFAULT 1,
  565. KEY `disp_idx` (`display_on_index`),
  566. KEY `forum_id` (`forum_id`)
  567. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  568. /*!40101 SET character_set_client = @saved_cs_client */;
  569. --
  570. -- Table structure for table `phpbb_modules`
  571. --
  572. DROP TABLE IF EXISTS `phpbb_modules`;
  573. /*!40101 SET @saved_cs_client = @@character_set_client */;
  574. /*!40101 SET character_set_client = utf8 */;
  575. CREATE TABLE `phpbb_modules` (
  576. `module_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  577. `module_enabled` tinyint(1) unsigned NOT NULL DEFAULT 1,
  578. `module_display` tinyint(1) unsigned NOT NULL DEFAULT 1,
  579. `module_basename` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  580. `module_class` varchar(10) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  581. `parent_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  582. `left_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  583. `right_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  584. `module_langname` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  585. `module_mode` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  586. `module_auth` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  587. PRIMARY KEY (`module_id`),
  588. KEY `left_right_id` (`left_id`,`right_id`),
  589. KEY `module_enabled` (`module_enabled`),
  590. KEY `class_left_id` (`module_class`,`left_id`)
  591. ) ENGINE=InnoDB AUTO_INCREMENT=210 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  592. /*!40101 SET character_set_client = @saved_cs_client */;
  593. --
  594. -- Table structure for table `phpbb_notification_emails`
  595. --
  596. DROP TABLE IF EXISTS `phpbb_notification_emails`;
  597. /*!40101 SET @saved_cs_client = @@character_set_client */;
  598. /*!40101 SET character_set_client = utf8 */;
  599. CREATE TABLE `phpbb_notification_emails` (
  600. `notification_type_id` smallint(4) unsigned NOT NULL DEFAULT 0,
  601. `item_id` int(10) unsigned NOT NULL DEFAULT 0,
  602. `item_parent_id` int(10) unsigned NOT NULL DEFAULT 0,
  603. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  604. PRIMARY KEY (`notification_type_id`,`item_id`,`item_parent_id`,`user_id`)
  605. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  606. /*!40101 SET character_set_client = @saved_cs_client */;
  607. --
  608. -- Table structure for table `phpbb_notification_types`
  609. --
  610. DROP TABLE IF EXISTS `phpbb_notification_types`;
  611. /*!40101 SET @saved_cs_client = @@character_set_client */;
  612. /*!40101 SET character_set_client = utf8 */;
  613. CREATE TABLE `phpbb_notification_types` (
  614. `notification_type_id` smallint(4) unsigned NOT NULL AUTO_INCREMENT,
  615. `notification_type_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  616. `notification_type_enabled` tinyint(1) unsigned NOT NULL DEFAULT 1,
  617. PRIMARY KEY (`notification_type_id`),
  618. UNIQUE KEY `type` (`notification_type_name`)
  619. ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  620. /*!40101 SET character_set_client = @saved_cs_client */;
  621. --
  622. -- Table structure for table `phpbb_notifications`
  623. --
  624. DROP TABLE IF EXISTS `phpbb_notifications`;
  625. /*!40101 SET @saved_cs_client = @@character_set_client */;
  626. /*!40101 SET character_set_client = utf8 */;
  627. CREATE TABLE `phpbb_notifications` (
  628. `notification_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  629. `notification_type_id` smallint(4) unsigned NOT NULL DEFAULT 0,
  630. `item_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  631. `item_parent_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  632. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  633. `notification_read` tinyint(1) unsigned NOT NULL DEFAULT 0,
  634. `notification_time` int(11) unsigned NOT NULL DEFAULT 1,
  635. `notification_data` text COLLATE utf8mb3_bin NOT NULL,
  636. PRIMARY KEY (`notification_id`),
  637. KEY `item_ident` (`notification_type_id`,`item_id`),
  638. KEY `user` (`user_id`,`notification_read`)
  639. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  640. /*!40101 SET character_set_client = @saved_cs_client */;
  641. --
  642. -- Table structure for table `phpbb_oauth_accounts`
  643. --
  644. DROP TABLE IF EXISTS `phpbb_oauth_accounts`;
  645. /*!40101 SET @saved_cs_client = @@character_set_client */;
  646. /*!40101 SET character_set_client = utf8 */;
  647. CREATE TABLE `phpbb_oauth_accounts` (
  648. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  649. `provider` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  650. `oauth_provider_id` text COLLATE utf8mb3_bin NOT NULL,
  651. PRIMARY KEY (`user_id`,`provider`)
  652. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  653. /*!40101 SET character_set_client = @saved_cs_client */;
  654. --
  655. -- Table structure for table `phpbb_oauth_states`
  656. --
  657. DROP TABLE IF EXISTS `phpbb_oauth_states`;
  658. /*!40101 SET @saved_cs_client = @@character_set_client */;
  659. /*!40101 SET character_set_client = utf8 */;
  660. CREATE TABLE `phpbb_oauth_states` (
  661. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  662. `session_id` char(32) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  663. `provider` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  664. `oauth_state` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  665. KEY `user_id` (`user_id`),
  666. KEY `provider` (`provider`)
  667. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  668. /*!40101 SET character_set_client = @saved_cs_client */;
  669. --
  670. -- Table structure for table `phpbb_oauth_tokens`
  671. --
  672. DROP TABLE IF EXISTS `phpbb_oauth_tokens`;
  673. /*!40101 SET @saved_cs_client = @@character_set_client */;
  674. /*!40101 SET character_set_client = utf8 */;
  675. CREATE TABLE `phpbb_oauth_tokens` (
  676. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  677. `session_id` char(32) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  678. `provider` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  679. `oauth_token` mediumtext COLLATE utf8mb3_bin NOT NULL,
  680. KEY `user_id` (`user_id`),
  681. KEY `provider` (`provider`)
  682. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  683. /*!40101 SET character_set_client = @saved_cs_client */;
  684. --
  685. -- Table structure for table `phpbb_poll_options`
  686. --
  687. DROP TABLE IF EXISTS `phpbb_poll_options`;
  688. /*!40101 SET @saved_cs_client = @@character_set_client */;
  689. /*!40101 SET character_set_client = utf8 */;
  690. CREATE TABLE `phpbb_poll_options` (
  691. `poll_option_id` tinyint(4) NOT NULL DEFAULT 0,
  692. `topic_id` int(10) unsigned NOT NULL DEFAULT 0,
  693. `poll_option_text` text COLLATE utf8mb3_bin NOT NULL,
  694. `poll_option_total` mediumint(8) unsigned NOT NULL DEFAULT 0,
  695. KEY `poll_opt_id` (`poll_option_id`),
  696. KEY `topic_id` (`topic_id`)
  697. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  698. /*!40101 SET character_set_client = @saved_cs_client */;
  699. --
  700. -- Table structure for table `phpbb_poll_votes`
  701. --
  702. DROP TABLE IF EXISTS `phpbb_poll_votes`;
  703. /*!40101 SET @saved_cs_client = @@character_set_client */;
  704. /*!40101 SET character_set_client = utf8 */;
  705. CREATE TABLE `phpbb_poll_votes` (
  706. `topic_id` int(10) unsigned NOT NULL DEFAULT 0,
  707. `poll_option_id` tinyint(4) NOT NULL DEFAULT 0,
  708. `vote_user_id` int(10) unsigned NOT NULL DEFAULT 0,
  709. `vote_user_ip` varchar(40) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  710. KEY `topic_id` (`topic_id`),
  711. KEY `vote_user_id` (`vote_user_id`),
  712. KEY `vote_user_ip` (`vote_user_ip`)
  713. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  714. /*!40101 SET character_set_client = @saved_cs_client */;
  715. --
  716. -- Table structure for table `phpbb_posts`
  717. --
  718. DROP TABLE IF EXISTS `phpbb_posts`;
  719. /*!40101 SET @saved_cs_client = @@character_set_client */;
  720. /*!40101 SET character_set_client = utf8 */;
  721. CREATE TABLE `phpbb_posts` (
  722. `post_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  723. `topic_id` int(10) unsigned NOT NULL DEFAULT 0,
  724. `forum_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  725. `poster_id` int(10) unsigned NOT NULL DEFAULT 0,
  726. `icon_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  727. `poster_ip` varchar(40) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  728. `post_time` int(11) unsigned NOT NULL DEFAULT 0,
  729. `post_reported` tinyint(1) unsigned NOT NULL DEFAULT 0,
  730. `enable_bbcode` tinyint(1) unsigned NOT NULL DEFAULT 1,
  731. `enable_smilies` tinyint(1) unsigned NOT NULL DEFAULT 1,
  732. `enable_magic_url` tinyint(1) unsigned NOT NULL DEFAULT 1,
  733. `enable_sig` tinyint(1) unsigned NOT NULL DEFAULT 1,
  734. `post_username` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  735. `post_subject` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  736. `post_text` mediumtext COLLATE utf8mb3_bin NOT NULL,
  737. `post_checksum` varchar(32) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  738. `post_attachment` tinyint(1) unsigned NOT NULL DEFAULT 0,
  739. `bbcode_bitfield` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  740. `bbcode_uid` varchar(8) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  741. `post_postcount` tinyint(1) unsigned NOT NULL DEFAULT 1,
  742. `post_edit_time` int(11) unsigned NOT NULL DEFAULT 0,
  743. `post_edit_reason` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  744. `post_edit_user` int(10) unsigned NOT NULL DEFAULT 0,
  745. `post_edit_count` smallint(4) unsigned NOT NULL DEFAULT 0,
  746. `post_edit_locked` tinyint(1) unsigned NOT NULL DEFAULT 0,
  747. `post_visibility` tinyint(3) NOT NULL DEFAULT 0,
  748. `post_delete_time` int(11) unsigned NOT NULL DEFAULT 0,
  749. `post_delete_reason` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  750. `post_delete_user` int(10) unsigned NOT NULL DEFAULT 0,
  751. PRIMARY KEY (`post_id`),
  752. KEY `forum_id` (`forum_id`),
  753. KEY `topic_id` (`topic_id`),
  754. KEY `poster_ip` (`poster_ip`),
  755. KEY `poster_id` (`poster_id`),
  756. KEY `tid_post_time` (`topic_id`,`post_time`),
  757. KEY `post_username` (`post_username`),
  758. KEY `post_visibility` (`post_visibility`)
  759. ) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  760. /*!40101 SET character_set_client = @saved_cs_client */;
  761. --
  762. -- Table structure for table `phpbb_privmsgs`
  763. --
  764. DROP TABLE IF EXISTS `phpbb_privmsgs`;
  765. /*!40101 SET @saved_cs_client = @@character_set_client */;
  766. /*!40101 SET character_set_client = utf8 */;
  767. CREATE TABLE `phpbb_privmsgs` (
  768. `msg_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  769. `root_level` mediumint(8) unsigned NOT NULL DEFAULT 0,
  770. `author_id` int(10) unsigned NOT NULL DEFAULT 0,
  771. `icon_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  772. `author_ip` varchar(40) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  773. `message_time` int(11) unsigned NOT NULL DEFAULT 0,
  774. `enable_bbcode` tinyint(1) unsigned NOT NULL DEFAULT 1,
  775. `enable_smilies` tinyint(1) unsigned NOT NULL DEFAULT 1,
  776. `enable_magic_url` tinyint(1) unsigned NOT NULL DEFAULT 1,
  777. `enable_sig` tinyint(1) unsigned NOT NULL DEFAULT 1,
  778. `message_subject` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  779. `message_text` mediumtext COLLATE utf8mb3_bin NOT NULL,
  780. `message_edit_reason` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  781. `message_edit_user` int(10) unsigned NOT NULL DEFAULT 0,
  782. `message_attachment` tinyint(1) unsigned NOT NULL DEFAULT 0,
  783. `bbcode_bitfield` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  784. `bbcode_uid` varchar(8) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  785. `message_edit_time` int(11) unsigned NOT NULL DEFAULT 0,
  786. `message_edit_count` smallint(4) unsigned NOT NULL DEFAULT 0,
  787. `to_address` text COLLATE utf8mb3_bin NOT NULL,
  788. `bcc_address` text COLLATE utf8mb3_bin NOT NULL,
  789. `message_reported` tinyint(1) unsigned NOT NULL DEFAULT 0,
  790. PRIMARY KEY (`msg_id`),
  791. KEY `author_ip` (`author_ip`),
  792. KEY `message_time` (`message_time`),
  793. KEY `author_id` (`author_id`),
  794. KEY `root_level` (`root_level`)
  795. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  796. /*!40101 SET character_set_client = @saved_cs_client */;
  797. --
  798. -- Table structure for table `phpbb_privmsgs_folder`
  799. --
  800. DROP TABLE IF EXISTS `phpbb_privmsgs_folder`;
  801. /*!40101 SET @saved_cs_client = @@character_set_client */;
  802. /*!40101 SET character_set_client = utf8 */;
  803. CREATE TABLE `phpbb_privmsgs_folder` (
  804. `folder_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  805. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  806. `folder_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  807. `pm_count` mediumint(8) unsigned NOT NULL DEFAULT 0,
  808. PRIMARY KEY (`folder_id`),
  809. KEY `user_id` (`user_id`)
  810. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  811. /*!40101 SET character_set_client = @saved_cs_client */;
  812. --
  813. -- Table structure for table `phpbb_privmsgs_rules`
  814. --
  815. DROP TABLE IF EXISTS `phpbb_privmsgs_rules`;
  816. /*!40101 SET @saved_cs_client = @@character_set_client */;
  817. /*!40101 SET character_set_client = utf8 */;
  818. CREATE TABLE `phpbb_privmsgs_rules` (
  819. `rule_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  820. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  821. `rule_check` mediumint(8) unsigned NOT NULL DEFAULT 0,
  822. `rule_connection` mediumint(8) unsigned NOT NULL DEFAULT 0,
  823. `rule_string` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  824. `rule_user_id` int(10) unsigned NOT NULL DEFAULT 0,
  825. `rule_group_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  826. `rule_action` mediumint(8) unsigned NOT NULL DEFAULT 0,
  827. `rule_folder_id` int(11) NOT NULL DEFAULT 0,
  828. PRIMARY KEY (`rule_id`),
  829. KEY `user_id` (`user_id`)
  830. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  831. /*!40101 SET character_set_client = @saved_cs_client */;
  832. --
  833. -- Table structure for table `phpbb_privmsgs_to`
  834. --
  835. DROP TABLE IF EXISTS `phpbb_privmsgs_to`;
  836. /*!40101 SET @saved_cs_client = @@character_set_client */;
  837. /*!40101 SET character_set_client = utf8 */;
  838. CREATE TABLE `phpbb_privmsgs_to` (
  839. `msg_id` int(10) unsigned NOT NULL DEFAULT 0,
  840. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  841. `author_id` int(10) unsigned NOT NULL DEFAULT 0,
  842. `pm_deleted` tinyint(1) unsigned NOT NULL DEFAULT 0,
  843. `pm_new` tinyint(1) unsigned NOT NULL DEFAULT 1,
  844. `pm_unread` tinyint(1) unsigned NOT NULL DEFAULT 1,
  845. `pm_replied` tinyint(1) unsigned NOT NULL DEFAULT 0,
  846. `pm_marked` tinyint(1) unsigned NOT NULL DEFAULT 0,
  847. `pm_forwarded` tinyint(1) unsigned NOT NULL DEFAULT 0,
  848. `folder_id` int(11) NOT NULL DEFAULT 0,
  849. KEY `msg_id` (`msg_id`),
  850. KEY `author_id` (`author_id`),
  851. KEY `usr_flder_id` (`user_id`,`folder_id`)
  852. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  853. /*!40101 SET character_set_client = @saved_cs_client */;
  854. --
  855. -- Table structure for table `phpbb_profile_fields`
  856. --
  857. DROP TABLE IF EXISTS `phpbb_profile_fields`;
  858. /*!40101 SET @saved_cs_client = @@character_set_client */;
  859. /*!40101 SET character_set_client = utf8 */;
  860. CREATE TABLE `phpbb_profile_fields` (
  861. `field_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  862. `field_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  863. `field_type` varchar(100) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  864. `field_ident` varchar(20) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  865. `field_length` varchar(20) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  866. `field_minlen` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  867. `field_maxlen` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  868. `field_novalue` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  869. `field_default_value` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  870. `field_validation` varchar(64) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  871. `field_required` tinyint(1) unsigned NOT NULL DEFAULT 0,
  872. `field_show_on_reg` tinyint(1) unsigned NOT NULL DEFAULT 0,
  873. `field_hide` tinyint(1) unsigned NOT NULL DEFAULT 0,
  874. `field_no_view` tinyint(1) unsigned NOT NULL DEFAULT 0,
  875. `field_active` tinyint(1) unsigned NOT NULL DEFAULT 0,
  876. `field_order` mediumint(8) unsigned NOT NULL DEFAULT 0,
  877. `field_show_profile` tinyint(1) unsigned NOT NULL DEFAULT 0,
  878. `field_show_on_vt` tinyint(1) unsigned NOT NULL DEFAULT 0,
  879. `field_show_novalue` tinyint(1) unsigned NOT NULL DEFAULT 0,
  880. `field_show_on_pm` tinyint(1) unsigned NOT NULL DEFAULT 0,
  881. `field_show_on_ml` tinyint(1) unsigned NOT NULL DEFAULT 0,
  882. `field_is_contact` tinyint(1) unsigned NOT NULL DEFAULT 0,
  883. `field_contact_desc` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  884. `field_contact_url` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  885. PRIMARY KEY (`field_id`),
  886. KEY `fld_type` (`field_type`),
  887. KEY `fld_ordr` (`field_order`)
  888. ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  889. /*!40101 SET character_set_client = @saved_cs_client */;
  890. --
  891. -- Table structure for table `phpbb_profile_fields_data`
  892. --
  893. DROP TABLE IF EXISTS `phpbb_profile_fields_data`;
  894. /*!40101 SET @saved_cs_client = @@character_set_client */;
  895. /*!40101 SET character_set_client = utf8 */;
  896. CREATE TABLE `phpbb_profile_fields_data` (
  897. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  898. `pf_phpbb_interests` mediumtext COLLATE utf8mb3_bin NOT NULL,
  899. `pf_phpbb_occupation` mediumtext COLLATE utf8mb3_bin NOT NULL,
  900. `pf_phpbb_location` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  901. `pf_phpbb_skype` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  902. `pf_phpbb_facebook` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  903. `pf_phpbb_icq` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  904. `pf_phpbb_twitter` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  905. `pf_phpbb_website` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  906. `pf_phpbb_youtube` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  907. `pf_phpbb_yahoo` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  908. PRIMARY KEY (`user_id`)
  909. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  910. /*!40101 SET character_set_client = @saved_cs_client */;
  911. --
  912. -- Table structure for table `phpbb_profile_fields_lang`
  913. --
  914. DROP TABLE IF EXISTS `phpbb_profile_fields_lang`;
  915. /*!40101 SET @saved_cs_client = @@character_set_client */;
  916. /*!40101 SET character_set_client = utf8 */;
  917. CREATE TABLE `phpbb_profile_fields_lang` (
  918. `field_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  919. `lang_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  920. `option_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  921. `field_type` varchar(100) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  922. `lang_value` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  923. PRIMARY KEY (`field_id`,`lang_id`,`option_id`)
  924. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  925. /*!40101 SET character_set_client = @saved_cs_client */;
  926. --
  927. -- Table structure for table `phpbb_profile_lang`
  928. --
  929. DROP TABLE IF EXISTS `phpbb_profile_lang`;
  930. /*!40101 SET @saved_cs_client = @@character_set_client */;
  931. /*!40101 SET character_set_client = utf8 */;
  932. CREATE TABLE `phpbb_profile_lang` (
  933. `field_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  934. `lang_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  935. `lang_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  936. `lang_explain` text COLLATE utf8mb3_bin NOT NULL,
  937. `lang_default_value` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  938. PRIMARY KEY (`field_id`,`lang_id`)
  939. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  940. /*!40101 SET character_set_client = @saved_cs_client */;
  941. --
  942. -- Table structure for table `phpbb_ranks`
  943. --
  944. DROP TABLE IF EXISTS `phpbb_ranks`;
  945. /*!40101 SET @saved_cs_client = @@character_set_client */;
  946. /*!40101 SET character_set_client = utf8 */;
  947. CREATE TABLE `phpbb_ranks` (
  948. `rank_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  949. `rank_title` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  950. `rank_min` mediumint(8) unsigned NOT NULL DEFAULT 0,
  951. `rank_special` tinyint(1) unsigned NOT NULL DEFAULT 0,
  952. `rank_image` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  953. PRIMARY KEY (`rank_id`)
  954. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  955. /*!40101 SET character_set_client = @saved_cs_client */;
  956. --
  957. -- Table structure for table `phpbb_reports`
  958. --
  959. DROP TABLE IF EXISTS `phpbb_reports`;
  960. /*!40101 SET @saved_cs_client = @@character_set_client */;
  961. /*!40101 SET character_set_client = utf8 */;
  962. CREATE TABLE `phpbb_reports` (
  963. `report_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  964. `reason_id` smallint(4) unsigned NOT NULL DEFAULT 0,
  965. `post_id` int(10) unsigned NOT NULL DEFAULT 0,
  966. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  967. `user_notify` tinyint(1) unsigned NOT NULL DEFAULT 0,
  968. `report_closed` tinyint(1) unsigned NOT NULL DEFAULT 0,
  969. `report_time` int(11) unsigned NOT NULL DEFAULT 0,
  970. `report_text` mediumtext COLLATE utf8mb3_bin NOT NULL,
  971. `pm_id` int(10) unsigned NOT NULL DEFAULT 0,
  972. `reported_post_enable_bbcode` tinyint(1) unsigned NOT NULL DEFAULT 1,
  973. `reported_post_enable_smilies` tinyint(1) unsigned NOT NULL DEFAULT 1,
  974. `reported_post_enable_magic_url` tinyint(1) unsigned NOT NULL DEFAULT 1,
  975. `reported_post_text` mediumtext COLLATE utf8mb3_bin NOT NULL,
  976. `reported_post_uid` varchar(8) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  977. `reported_post_bitfield` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  978. PRIMARY KEY (`report_id`),
  979. KEY `post_id` (`post_id`),
  980. KEY `pm_id` (`pm_id`)
  981. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  982. /*!40101 SET character_set_client = @saved_cs_client */;
  983. --
  984. -- Table structure for table `phpbb_reports_reasons`
  985. --
  986. DROP TABLE IF EXISTS `phpbb_reports_reasons`;
  987. /*!40101 SET @saved_cs_client = @@character_set_client */;
  988. /*!40101 SET character_set_client = utf8 */;
  989. CREATE TABLE `phpbb_reports_reasons` (
  990. `reason_id` smallint(4) unsigned NOT NULL AUTO_INCREMENT,
  991. `reason_title` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  992. `reason_description` mediumtext COLLATE utf8mb3_bin NOT NULL,
  993. `reason_order` smallint(4) unsigned NOT NULL DEFAULT 0,
  994. PRIMARY KEY (`reason_id`)
  995. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  996. /*!40101 SET character_set_client = @saved_cs_client */;
  997. --
  998. -- Table structure for table `phpbb_search_results`
  999. --
  1000. DROP TABLE IF EXISTS `phpbb_search_results`;
  1001. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1002. /*!40101 SET character_set_client = utf8 */;
  1003. CREATE TABLE `phpbb_search_results` (
  1004. `search_key` varchar(32) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1005. `search_time` int(11) unsigned NOT NULL DEFAULT 0,
  1006. `search_keywords` mediumtext COLLATE utf8mb3_bin NOT NULL,
  1007. `search_authors` mediumtext COLLATE utf8mb3_bin NOT NULL,
  1008. PRIMARY KEY (`search_key`)
  1009. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1010. /*!40101 SET character_set_client = @saved_cs_client */;
  1011. --
  1012. -- Table structure for table `phpbb_search_wordlist`
  1013. --
  1014. DROP TABLE IF EXISTS `phpbb_search_wordlist`;
  1015. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1016. /*!40101 SET character_set_client = utf8 */;
  1017. CREATE TABLE `phpbb_search_wordlist` (
  1018. `word_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  1019. `word_text` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1020. `word_common` tinyint(1) unsigned NOT NULL DEFAULT 0,
  1021. `word_count` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1022. PRIMARY KEY (`word_id`),
  1023. UNIQUE KEY `wrd_txt` (`word_text`),
  1024. KEY `wrd_cnt` (`word_count`)
  1025. ) ENGINE=InnoDB AUTO_INCREMENT=453 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1026. /*!40101 SET character_set_client = @saved_cs_client */;
  1027. --
  1028. -- Table structure for table `phpbb_search_wordmatch`
  1029. --
  1030. DROP TABLE IF EXISTS `phpbb_search_wordmatch`;
  1031. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1032. /*!40101 SET character_set_client = utf8 */;
  1033. CREATE TABLE `phpbb_search_wordmatch` (
  1034. `post_id` int(10) unsigned NOT NULL DEFAULT 0,
  1035. `word_id` int(10) unsigned NOT NULL DEFAULT 0,
  1036. `title_match` tinyint(1) unsigned NOT NULL DEFAULT 0,
  1037. UNIQUE KEY `un_mtch` (`word_id`,`post_id`,`title_match`),
  1038. KEY `word_id` (`word_id`),
  1039. KEY `post_id` (`post_id`)
  1040. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1041. /*!40101 SET character_set_client = @saved_cs_client */;
  1042. --
  1043. -- Table structure for table `phpbb_sessions`
  1044. --
  1045. DROP TABLE IF EXISTS `phpbb_sessions`;
  1046. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1047. /*!40101 SET character_set_client = utf8 */;
  1048. CREATE TABLE `phpbb_sessions` (
  1049. `session_id` char(32) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1050. `session_user_id` int(10) unsigned NOT NULL DEFAULT 0,
  1051. `session_last_visit` int(11) unsigned NOT NULL DEFAULT 0,
  1052. `session_start` int(11) unsigned NOT NULL DEFAULT 0,
  1053. `session_time` int(11) unsigned NOT NULL DEFAULT 0,
  1054. `session_ip` varchar(40) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1055. `session_browser` varchar(150) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1056. `session_forwarded_for` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1057. `session_page` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1058. `session_viewonline` tinyint(1) unsigned NOT NULL DEFAULT 1,
  1059. `session_autologin` tinyint(1) unsigned NOT NULL DEFAULT 0,
  1060. `session_admin` tinyint(1) unsigned NOT NULL DEFAULT 0,
  1061. `session_forum_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1062. PRIMARY KEY (`session_id`),
  1063. KEY `session_time` (`session_time`),
  1064. KEY `session_user_id` (`session_user_id`),
  1065. KEY `session_fid` (`session_forum_id`)
  1066. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1067. /*!40101 SET character_set_client = @saved_cs_client */;
  1068. --
  1069. -- Table structure for table `phpbb_sessions_keys`
  1070. --
  1071. DROP TABLE IF EXISTS `phpbb_sessions_keys`;
  1072. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1073. /*!40101 SET character_set_client = utf8 */;
  1074. CREATE TABLE `phpbb_sessions_keys` (
  1075. `key_id` char(32) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1076. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  1077. `last_ip` varchar(40) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1078. `last_login` int(11) unsigned NOT NULL DEFAULT 0,
  1079. PRIMARY KEY (`key_id`,`user_id`),
  1080. KEY `last_login` (`last_login`)
  1081. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1082. /*!40101 SET character_set_client = @saved_cs_client */;
  1083. --
  1084. -- Table structure for table `phpbb_sitelist`
  1085. --
  1086. DROP TABLE IF EXISTS `phpbb_sitelist`;
  1087. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1088. /*!40101 SET character_set_client = utf8 */;
  1089. CREATE TABLE `phpbb_sitelist` (
  1090. `site_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  1091. `site_ip` varchar(40) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1092. `site_hostname` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1093. `ip_exclude` tinyint(1) unsigned NOT NULL DEFAULT 0,
  1094. PRIMARY KEY (`site_id`)
  1095. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1096. /*!40101 SET character_set_client = @saved_cs_client */;
  1097. --
  1098. -- Table structure for table `phpbb_smilies`
  1099. --
  1100. DROP TABLE IF EXISTS `phpbb_smilies`;
  1101. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1102. /*!40101 SET character_set_client = utf8 */;
  1103. CREATE TABLE `phpbb_smilies` (
  1104. `smiley_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  1105. `code` varchar(50) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1106. `emotion` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1107. `smiley_url` varchar(50) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1108. `smiley_width` smallint(4) unsigned NOT NULL DEFAULT 0,
  1109. `smiley_height` smallint(4) unsigned NOT NULL DEFAULT 0,
  1110. `smiley_order` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1111. `display_on_posting` tinyint(1) unsigned NOT NULL DEFAULT 1,
  1112. PRIMARY KEY (`smiley_id`),
  1113. KEY `display_on_post` (`display_on_posting`)
  1114. ) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1115. /*!40101 SET character_set_client = @saved_cs_client */;
  1116. --
  1117. -- Table structure for table `phpbb_styles`
  1118. --
  1119. DROP TABLE IF EXISTS `phpbb_styles`;
  1120. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1121. /*!40101 SET character_set_client = utf8 */;
  1122. CREATE TABLE `phpbb_styles` (
  1123. `style_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  1124. `style_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1125. `style_copyright` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1126. `style_active` tinyint(1) unsigned NOT NULL DEFAULT 1,
  1127. `style_path` varchar(100) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1128. `bbcode_bitfield` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT 'kNg=',
  1129. `style_parent_id` int(4) unsigned NOT NULL DEFAULT 0,
  1130. `style_parent_tree` text COLLATE utf8mb3_bin NOT NULL,
  1131. PRIMARY KEY (`style_id`),
  1132. UNIQUE KEY `style_name` (`style_name`)
  1133. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1134. /*!40101 SET character_set_client = @saved_cs_client */;
  1135. --
  1136. -- Table structure for table `phpbb_teampage`
  1137. --
  1138. DROP TABLE IF EXISTS `phpbb_teampage`;
  1139. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1140. /*!40101 SET character_set_client = utf8 */;
  1141. CREATE TABLE `phpbb_teampage` (
  1142. `teampage_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  1143. `group_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1144. `teampage_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1145. `teampage_position` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1146. `teampage_parent` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1147. PRIMARY KEY (`teampage_id`)
  1148. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1149. /*!40101 SET character_set_client = @saved_cs_client */;
  1150. --
  1151. -- Table structure for table `phpbb_topics`
  1152. --
  1153. DROP TABLE IF EXISTS `phpbb_topics`;
  1154. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1155. /*!40101 SET character_set_client = utf8 */;
  1156. CREATE TABLE `phpbb_topics` (
  1157. `topic_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  1158. `forum_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1159. `icon_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1160. `topic_attachment` tinyint(1) unsigned NOT NULL DEFAULT 0,
  1161. `topic_reported` tinyint(1) unsigned NOT NULL DEFAULT 0,
  1162. `topic_title` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  1163. `topic_poster` int(10) unsigned NOT NULL DEFAULT 0,
  1164. `topic_time` int(11) unsigned NOT NULL DEFAULT 0,
  1165. `topic_time_limit` int(11) unsigned NOT NULL DEFAULT 0,
  1166. `topic_views` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1167. `topic_status` tinyint(3) NOT NULL DEFAULT 0,
  1168. `topic_type` tinyint(3) NOT NULL DEFAULT 0,
  1169. `topic_first_post_id` int(10) unsigned NOT NULL DEFAULT 0,
  1170. `topic_first_poster_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  1171. `topic_first_poster_colour` varchar(6) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1172. `topic_last_post_id` int(10) unsigned NOT NULL DEFAULT 0,
  1173. `topic_last_poster_id` int(10) unsigned NOT NULL DEFAULT 0,
  1174. `topic_last_poster_name` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1175. `topic_last_poster_colour` varchar(6) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1176. `topic_last_post_subject` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1177. `topic_last_post_time` int(11) unsigned NOT NULL DEFAULT 0,
  1178. `topic_last_view_time` int(11) unsigned NOT NULL DEFAULT 0,
  1179. `topic_moved_id` int(10) unsigned NOT NULL DEFAULT 0,
  1180. `topic_bumped` tinyint(1) unsigned NOT NULL DEFAULT 0,
  1181. `topic_bumper` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1182. `poll_title` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1183. `poll_start` int(11) unsigned NOT NULL DEFAULT 0,
  1184. `poll_length` int(11) unsigned NOT NULL DEFAULT 0,
  1185. `poll_max_options` tinyint(4) NOT NULL DEFAULT 1,
  1186. `poll_last_vote` int(11) unsigned NOT NULL DEFAULT 0,
  1187. `poll_vote_change` tinyint(1) unsigned NOT NULL DEFAULT 0,
  1188. `topic_visibility` tinyint(3) NOT NULL DEFAULT 0,
  1189. `topic_delete_time` int(11) unsigned NOT NULL DEFAULT 0,
  1190. `topic_delete_reason` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1191. `topic_delete_user` int(10) unsigned NOT NULL DEFAULT 0,
  1192. `topic_posts_approved` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1193. `topic_posts_unapproved` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1194. `topic_posts_softdeleted` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1195. PRIMARY KEY (`topic_id`),
  1196. KEY `forum_id` (`forum_id`),
  1197. KEY `forum_id_type` (`forum_id`,`topic_type`),
  1198. KEY `last_post_time` (`topic_last_post_time`),
  1199. KEY `fid_time_moved` (`forum_id`,`topic_last_post_time`,`topic_moved_id`),
  1200. KEY `topic_visibility` (`topic_visibility`),
  1201. KEY `forum_vis_last` (`forum_id`,`topic_visibility`,`topic_last_post_id`),
  1202. KEY `latest_topics` (`forum_id`,`topic_last_post_time`,`topic_last_post_id`,`topic_moved_id`)
  1203. ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1204. /*!40101 SET character_set_client = @saved_cs_client */;
  1205. --
  1206. -- Table structure for table `phpbb_topics_posted`
  1207. --
  1208. DROP TABLE IF EXISTS `phpbb_topics_posted`;
  1209. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1210. /*!40101 SET character_set_client = utf8 */;
  1211. CREATE TABLE `phpbb_topics_posted` (
  1212. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  1213. `topic_id` int(10) unsigned NOT NULL DEFAULT 0,
  1214. `topic_posted` tinyint(1) unsigned NOT NULL DEFAULT 0,
  1215. PRIMARY KEY (`user_id`,`topic_id`)
  1216. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1217. /*!40101 SET character_set_client = @saved_cs_client */;
  1218. --
  1219. -- Table structure for table `phpbb_topics_track`
  1220. --
  1221. DROP TABLE IF EXISTS `phpbb_topics_track`;
  1222. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1223. /*!40101 SET character_set_client = utf8 */;
  1224. CREATE TABLE `phpbb_topics_track` (
  1225. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  1226. `topic_id` int(10) unsigned NOT NULL DEFAULT 0,
  1227. `forum_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1228. `mark_time` int(11) unsigned NOT NULL DEFAULT 0,
  1229. PRIMARY KEY (`user_id`,`topic_id`),
  1230. KEY `forum_id` (`forum_id`),
  1231. KEY `topic_id` (`topic_id`)
  1232. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1233. /*!40101 SET character_set_client = @saved_cs_client */;
  1234. --
  1235. -- Table structure for table `phpbb_topics_watch`
  1236. --
  1237. DROP TABLE IF EXISTS `phpbb_topics_watch`;
  1238. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1239. /*!40101 SET character_set_client = utf8 */;
  1240. CREATE TABLE `phpbb_topics_watch` (
  1241. `topic_id` int(10) unsigned NOT NULL DEFAULT 0,
  1242. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  1243. `notify_status` tinyint(1) unsigned NOT NULL DEFAULT 0,
  1244. KEY `topic_id` (`topic_id`),
  1245. KEY `user_id` (`user_id`),
  1246. KEY `notify_stat` (`notify_status`)
  1247. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1248. /*!40101 SET character_set_client = @saved_cs_client */;
  1249. --
  1250. -- Table structure for table `phpbb_user_group`
  1251. --
  1252. DROP TABLE IF EXISTS `phpbb_user_group`;
  1253. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1254. /*!40101 SET character_set_client = utf8 */;
  1255. CREATE TABLE `phpbb_user_group` (
  1256. `group_id` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1257. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  1258. `group_leader` tinyint(1) unsigned NOT NULL DEFAULT 0,
  1259. `user_pending` tinyint(1) unsigned NOT NULL DEFAULT 1,
  1260. KEY `group_id` (`group_id`),
  1261. KEY `user_id` (`user_id`),
  1262. KEY `group_leader` (`group_leader`)
  1263. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1264. /*!40101 SET character_set_client = @saved_cs_client */;
  1265. --
  1266. -- Table structure for table `phpbb_user_notifications`
  1267. --
  1268. DROP TABLE IF EXISTS `phpbb_user_notifications`;
  1269. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1270. /*!40101 SET character_set_client = utf8 */;
  1271. CREATE TABLE `phpbb_user_notifications` (
  1272. `item_type` varchar(165) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1273. `item_id` int(10) unsigned NOT NULL DEFAULT 0,
  1274. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  1275. `method` varchar(165) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1276. `notify` tinyint(1) unsigned NOT NULL DEFAULT 1,
  1277. UNIQUE KEY `itm_usr_mthd` (`item_type`,`item_id`,`user_id`,`method`),
  1278. KEY `user_id` (`user_id`),
  1279. KEY `uid_itm_id` (`user_id`,`item_id`),
  1280. KEY `usr_itm_tpe` (`user_id`,`item_type`,`item_id`)
  1281. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1282. /*!40101 SET character_set_client = @saved_cs_client */;
  1283. --
  1284. -- Table structure for table `phpbb_users`
  1285. --
  1286. DROP TABLE IF EXISTS `phpbb_users`;
  1287. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1288. /*!40101 SET character_set_client = utf8 */;
  1289. CREATE TABLE `phpbb_users` (
  1290. `user_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  1291. `user_type` tinyint(2) NOT NULL DEFAULT 0,
  1292. `group_id` mediumint(8) unsigned NOT NULL DEFAULT 3,
  1293. `user_permissions` mediumtext COLLATE utf8mb3_bin NOT NULL,
  1294. `user_perm_from` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1295. `user_ip` varchar(40) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1296. `user_regdate` int(11) unsigned NOT NULL DEFAULT 0,
  1297. `username` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1298. `username_clean` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1299. `user_password` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1300. `user_passchg` int(11) unsigned NOT NULL DEFAULT 0,
  1301. `user_email` varchar(100) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1302. `user_birthday` varchar(10) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1303. `user_lastvisit` int(11) unsigned NOT NULL DEFAULT 0,
  1304. `user_lastmark` int(11) unsigned NOT NULL DEFAULT 0,
  1305. `user_lastpost_time` int(11) unsigned NOT NULL DEFAULT 0,
  1306. `user_lastpage` varchar(200) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1307. `user_last_confirm_key` varchar(10) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1308. `user_last_search` int(11) unsigned NOT NULL DEFAULT 0,
  1309. `user_warnings` tinyint(4) NOT NULL DEFAULT 0,
  1310. `user_last_warning` int(11) unsigned NOT NULL DEFAULT 0,
  1311. `user_login_attempts` tinyint(4) NOT NULL DEFAULT 0,
  1312. `user_inactive_reason` tinyint(2) NOT NULL DEFAULT 0,
  1313. `user_inactive_time` int(11) unsigned NOT NULL DEFAULT 0,
  1314. `user_posts` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1315. `user_lang` varchar(30) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1316. `user_timezone` varchar(100) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1317. `user_dateformat` varchar(64) COLLATE utf8mb3_bin NOT NULL DEFAULT 'd M Y H:i',
  1318. `user_style` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1319. `user_rank` mediumint(8) unsigned NOT NULL DEFAULT 0,
  1320. `user_colour` varchar(6) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1321. `user_new_privmsg` int(4) NOT NULL DEFAULT 0,
  1322. `user_unread_privmsg` int(4) NOT NULL DEFAULT 0,
  1323. `user_last_privmsg` int(11) unsigned NOT NULL DEFAULT 0,
  1324. `user_message_rules` tinyint(1) unsigned NOT NULL DEFAULT 0,
  1325. `user_full_folder` int(11) NOT NULL DEFAULT -3,
  1326. `user_emailtime` int(11) unsigned NOT NULL DEFAULT 0,
  1327. `user_topic_show_days` smallint(4) unsigned NOT NULL DEFAULT 0,
  1328. `user_topic_sortby_type` varchar(1) COLLATE utf8mb3_bin NOT NULL DEFAULT 't',
  1329. `user_topic_sortby_dir` varchar(1) COLLATE utf8mb3_bin NOT NULL DEFAULT 'd',
  1330. `user_post_show_days` smallint(4) unsigned NOT NULL DEFAULT 0,
  1331. `user_post_sortby_type` varchar(1) COLLATE utf8mb3_bin NOT NULL DEFAULT 't',
  1332. `user_post_sortby_dir` varchar(1) COLLATE utf8mb3_bin NOT NULL DEFAULT 'a',
  1333. `user_notify` tinyint(1) unsigned NOT NULL DEFAULT 0,
  1334. `user_notify_pm` tinyint(1) unsigned NOT NULL DEFAULT 1,
  1335. `user_notify_type` tinyint(4) NOT NULL DEFAULT 0,
  1336. `user_allow_pm` tinyint(1) unsigned NOT NULL DEFAULT 1,
  1337. `user_allow_viewonline` tinyint(1) unsigned NOT NULL DEFAULT 1,
  1338. `user_allow_viewemail` tinyint(1) unsigned NOT NULL DEFAULT 1,
  1339. `user_allow_massemail` tinyint(1) unsigned NOT NULL DEFAULT 1,
  1340. `user_options` int(11) unsigned NOT NULL DEFAULT 230271,
  1341. `user_avatar` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1342. `user_avatar_type` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1343. `user_avatar_width` smallint(4) unsigned NOT NULL DEFAULT 0,
  1344. `user_avatar_height` smallint(4) unsigned NOT NULL DEFAULT 0,
  1345. `user_sig` mediumtext COLLATE utf8mb3_bin NOT NULL,
  1346. `user_sig_bbcode_uid` varchar(8) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1347. `user_sig_bbcode_bitfield` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1348. `user_jabber` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1349. `user_actkey` varchar(32) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1350. `reset_token` varchar(64) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1351. `reset_token_expiration` int(11) unsigned NOT NULL DEFAULT 0,
  1352. `user_newpasswd` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1353. `user_form_salt` varchar(32) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1354. `user_new` tinyint(1) unsigned NOT NULL DEFAULT 1,
  1355. `user_reminded` tinyint(4) NOT NULL DEFAULT 0,
  1356. `user_reminded_time` int(11) unsigned NOT NULL DEFAULT 0,
  1357. PRIMARY KEY (`user_id`),
  1358. UNIQUE KEY `username_clean` (`username_clean`),
  1359. KEY `user_birthday` (`user_birthday`),
  1360. KEY `user_type` (`user_type`),
  1361. KEY `user_email` (`user_email`)
  1362. ) ENGINE=InnoDB AUTO_INCREMENT=89 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1363. /*!40101 SET character_set_client = @saved_cs_client */;
  1364. --
  1365. -- Table structure for table `phpbb_warnings`
  1366. --
  1367. DROP TABLE IF EXISTS `phpbb_warnings`;
  1368. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1369. /*!40101 SET character_set_client = utf8 */;
  1370. CREATE TABLE `phpbb_warnings` (
  1371. `warning_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  1372. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  1373. `post_id` int(10) unsigned NOT NULL DEFAULT 0,
  1374. `log_id` int(10) unsigned NOT NULL DEFAULT 0,
  1375. `warning_time` int(11) unsigned NOT NULL DEFAULT 0,
  1376. PRIMARY KEY (`warning_id`)
  1377. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1378. /*!40101 SET character_set_client = @saved_cs_client */;
  1379. --
  1380. -- Table structure for table `phpbb_words`
  1381. --
  1382. DROP TABLE IF EXISTS `phpbb_words`;
  1383. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1384. /*!40101 SET character_set_client = utf8 */;
  1385. CREATE TABLE `phpbb_words` (
  1386. `word_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  1387. `word` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1388. `replacement` varchar(255) COLLATE utf8mb3_bin NOT NULL DEFAULT '',
  1389. PRIMARY KEY (`word_id`)
  1390. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1391. /*!40101 SET character_set_client = @saved_cs_client */;
  1392. --
  1393. -- Table structure for table `phpbb_zebra`
  1394. --
  1395. DROP TABLE IF EXISTS `phpbb_zebra`;
  1396. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1397. /*!40101 SET character_set_client = utf8 */;
  1398. CREATE TABLE `phpbb_zebra` (
  1399. `user_id` int(10) unsigned NOT NULL DEFAULT 0,
  1400. `zebra_id` int(10) unsigned NOT NULL DEFAULT 0,
  1401. `friend` tinyint(1) unsigned NOT NULL DEFAULT 0,
  1402. `foe` tinyint(1) unsigned NOT NULL DEFAULT 0,
  1403. PRIMARY KEY (`user_id`,`zebra_id`)
  1404. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;
  1405. /*!40101 SET character_set_client = @saved_cs_client */;
  1406. /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  1407. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  1408. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  1409. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  1410. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  1411. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  1412. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  1413. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  1414. -- Dump completed on 2022-09-17 9:44:35