1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-11-25 08:38:59 +00:00

create contact history table to track sent emails

This commit is contained in:
Lynne Megido 2019-09-01 15:03:18 +10:00
parent 316f7291dd
commit 7a1658c3c9
2 changed files with 10 additions and 3 deletions

View file

@ -47,4 +47,11 @@ CREATE TABLE IF NOT EXISTS `word_blacklist` (
FOREIGN KEY (`bot_id`) REFERENCES bots(id) ON DELETE CASCADE, FOREIGN KEY (`bot_id`) REFERENCES bots(id) ON DELETE CASCADE,
`phrase` VARCHAR(128) NOT NULL, `phrase` VARCHAR(128) NOT NULL,
`whole_word` BOOLEAN 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
);

View file

@ -8,7 +8,7 @@
<body> <body>
<div class="container"> <div class="container">
<h1 class="thin centred">Create bot</h1> <h1 class="thin centred">Add account</h1>
<p class="large thin centred">Step {{ session['step'] }}</p> <p class="large thin centred">Step {{ session['step'] }}</p>
</div> </div>