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,
`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),
`length` INT(4) DEFAULT 500,
`length` SMALLINT UNSIGNED DEFAULT 500,
`fake_mentions` ENUM('always', 'start', 'never') DEFAULT 'start',
`fake_mentions_full` BOOLEAN DEFAULT 0,
`post_privacy` ENUM('public', 'unlisted', 'followers_only') DEFAULT 'unlisted',