mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-30 18:24:29 +01:00
Update install.sql
This commit is contained in:
parent
ce755b8b51
commit
8b0c86d8bd
18
install.sql
18
install.sql
@ -303,7 +303,7 @@ CREATE TABLE IF NOT EXISTS `ban_appeals` (
|
||||
-- Table structure for table `pages`
|
||||
--
|
||||
|
||||
CREATE TABLE `pages` (
|
||||
CREATE TABLE IF NOT EXISTS `pages` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`board` varchar(58) CHARACTER SET utf8 DEFAULT NULL,
|
||||
`name` varchar(255) CHARACTER SET utf8 NOT NULL,
|
||||
@ -320,7 +320,7 @@ CREATE TABLE `pages` (
|
||||
-- Table structure for table `nntp_references`
|
||||
--
|
||||
|
||||
CREATE TABLE `nntp_references` (
|
||||
CREATE TABLE IF NOT EXISTS `nntp_references` (
|
||||
`board` varchar(30) NOT NULL,
|
||||
`id` int(11) unsigned NOT NULL,
|
||||
`message_id` varchar(255) CHARACTER SET ascii NOT NULL,
|
||||
@ -332,6 +332,20 @@ CREATE TABLE `nntp_references` (
|
||||
UNIQUE KEY `u_board_id` (`board`, `id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `captchas`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `captchas` (
|
||||
`cookie` VARCHAR(50),
|
||||
`extra` VARCHAR(200),
|
||||
`text` VARCHAR(255),
|
||||
`created_at` INT(11),
|
||||
PRIMARY KEY (cookie, extra)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
|
Loading…
Reference in New Issue
Block a user