diff --git a/setup.sql b/setup.sql index ed001bb..c3db47a 100644 --- a/setup.sql +++ b/setup.sql @@ -47,4 +47,11 @@ CREATE TABLE IF NOT EXISTS `word_blacklist` ( FOREIGN KEY (`bot_id`) REFERENCES bots(id) ON DELETE CASCADE, `phrase` VARCHAR(128) NOT NULL, `whole_word` BOOLEAN NOT NULL -) +); +CREATE TABLE IF NOT EXISTS `contact_history` ( + FOREIGN KEY (`user_id`) REFERENCES users(id) ON DELETE CASCADE, + `fetch` BOOLEAN DEFAULT 0, + `submit` BOOLEAN DEFAULT 0, + `generation` BOOLEAN DEFAULT 0, + `reply` BOOLEAN DEFAULT 0 +); diff --git a/templates/bot_accounts_add.html b/templates/bot_accounts_add.html index a65db58..aff0f70 100644 --- a/templates/bot_accounts_add.html +++ b/templates/bot_accounts_add.html @@ -8,7 +8,7 @@
-

Create bot

+

Add account

Step {{ session['step'] }}

@@ -32,7 +32,7 @@ {% else %}

Error

An unknown error has occurred.

- + {% endif %}