1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-11-25 16:48:58 +00:00

use unsigned ints

This commit is contained in:
Lynne Megido 2019-08-31 20:38:40 +10:00
parent 5a419376fd
commit 29e935f64f

View file

@ -15,9 +15,9 @@ CREATE TABLE IF NOT EXISTS `bots` (
FOREIGN KEY (`user_id`) REFERENCES users(id) ON DELETE CASCADE, FOREIGN KEY (`user_id`) REFERENCES users(id) ON DELETE CASCADE,
`enabled` BOOLEAN DEFAULT 1, `enabled` BOOLEAN DEFAULT 1,
`replies_enabled` BOOLEAN DEFAULT 1, `replies_enabled` BOOLEAN DEFAULT 1,
`post_frequency` INT(3) DEFAULT 30, `post_frequency` SMALLINT UNSIGNED DEFAULT 30,
`content_warning` VARCHAR(128), `content_warning` VARCHAR(128),
`length` INT(4) DEFAULT 500, `length` SMALLINT UNSIGNED DEFAULT 500,
`fake_mentions` ENUM('always', 'start', 'never') DEFAULT 'start', `fake_mentions` ENUM('always', 'start', 'never') DEFAULT 'start',
`fake_mentions_full` BOOLEAN DEFAULT 0, `fake_mentions_full` BOOLEAN DEFAULT 0,
`post_privacy` ENUM('public', 'unlisted', 'followers_only') DEFAULT 'unlisted', `post_privacy` ENUM('public', 'unlisted', 'followers_only') DEFAULT 'unlisted',