From 29e935f64f5eea85ec2b4c0000c93fdeb462cb4a Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 31 Aug 2019 20:38:40 +1000 Subject: [PATCH] use unsigned ints --- setup.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sql b/setup.sql index f156980..8dc2839 100644 --- a/setup.sql +++ b/setup.sql @@ -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',