mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-11-25 08:38:59 +00:00
use unsigned ints
This commit is contained in:
parent
5a419376fd
commit
29e935f64f
1 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue