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:
parent
316f7291dd
commit
7a1658c3c9
2 changed files with 10 additions and 3 deletions
|
@ -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
|
||||||
|
);
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue