mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-11-25 08:38:59 +00:00
fix default datetime values
This commit is contained in:
parent
b688186c28
commit
6d6b975fc0
1 changed files with 2 additions and 2 deletions
|
@ -31,9 +31,9 @@ CREATE TABLE IF NOT EXISTS `bots` (
|
|||
`fake_mentions_full` BOOLEAN DEFAULT 0,
|
||||
`post_privacy` ENUM('public', 'unlisted', 'private') DEFAULT 'unlisted',
|
||||
`learn_from_cw` BOOLEAN DEFAULT 0,
|
||||
`last_post` DATETIME DEFAULT 0,
|
||||
`last_post` DATETIME DEFAULT CURRENT_TIMESTAMP(),
|
||||
`icon` VARCHAR(512),
|
||||
`icon_update_time` DATETIME DEFAULT 0,
|
||||
`icon_update_time` DATETIME DEFAULT '1000-01-01 00:00:00',
|
||||
FOREIGN KEY (`user_id`) REFERENCES users(id) ON DELETE CASCADE,
|
||||
FOREIGN KEY (`credentials_id`) REFERENCES credentials(id) ON DELETE CASCADE
|
||||
) ENGINE=INNODB;
|
||||
|
|
Loading…
Reference in a new issue