diff --git a/setup.sql b/setup.sql index a40c3f4..ed0eae6 100644 --- a/setup.sql +++ b/setup.sql @@ -54,7 +54,7 @@ CREATE TABLE IF NOT EXISTS `posts` ( `post_id` VARCHAR(64) NOT NULL, `content` TEXT NOT NULL, `cw` BOOLEAN NOT NULL, - FOREIGN KEY (`fedi_id`) REFERENCES fedi_account(handle) ON DELETE CASCADE + FOREIGN KEY (`fedi_id`) REFERENCES fedi_accounts(handle) ON DELETE CASCADE ) ENGINE=INNODB; CREATE TABLE IF NOT EXISTS `word_blacklist` ( `id` INT AUTO_INCREMENT PRIMARY KEY,