1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-09-08 09:26:22 -07:00

Hide gochan's root directory if someone tries to make a board when the directory already exists, don't throw an error if a board SQL column doesn't have a default (they all should now, this is for old installations)

This commit is contained in:
Joshua Merrell 2018-02-03 10:21:45 -08:00
parent a04e90e59f
commit ad683a1b34
5 changed files with 21 additions and 19 deletions

View file

@ -61,10 +61,9 @@ CREATE TABLE IF NOT EXISTS `DBPREFIXboards` (
`autosage_after` INT(5) UNSIGNED NOT NULL DEFAULT 200,
`no_images_after` INT(5) UNSIGNED NOT NULL DEFAULT 0,
`max_message_length` INT(10) UNSIGNED NOT NULL DEFAULT 8192,
`embeds_allowed` TINYINT(1) NOT NULL,
`embeds_allowed` TINYINT(1) NOT NULL DEFAULT 1,
`redirect_to_thread` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0,
`require_file` TINYINT(1) UNSIGNED NOT NULL DEFAULT 1,
`require_file` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0,
`enable_catalog` TINYINT(1) UNSIGNED NOT NULL DEFAULT 1,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=0;