From 4230986c2b200ffb186e9a289521934349efffef Mon Sep 17 00:00:00 2001 From: Lynne Date: Mon, 2 Sep 2019 15:57:11 +1000 Subject: [PATCH] fix old table name being used --- setup.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,