mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-11-25 08:38:59 +00:00
add enabled column to bot_learned_accounts
This commit is contained in:
parent
bf10de0e17
commit
ca6e06668f
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ CREATE TABLE IF NOT EXISTS `fedi_accounts` (
|
|||
CREATE TABLE IF NOT EXISTS `bot_learned_accounts` (
|
||||
`bot_id` VARCHAR(128) NOT NULL,
|
||||
`fedi_id` VARCHAR(128) NOT NULL,
|
||||
`enabled` BOOLEAN DEFAULT 1,
|
||||
FOREIGN KEY (`bot_id`) REFERENCES bots(handle) ON DELETE CASCADE,
|
||||
FOREIGN KEY (`fedi_id`) REFERENCES fedi_accounts(handle) ON DELETE CASCADE
|
||||
) ENGINE=INNODB;
|
||||
|
|
Loading…
Reference in a new issue