aboutsummaryrefslogtreecommitdiff
path: root/db.js
diff options
context:
space:
mode:
Diffstat (limited to 'db.js')
-rw-r--r--db.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/db.js b/db.js
index 89d7d3b..56d31bf 100644
--- a/db.js
+++ b/db.js
@@ -94,6 +94,7 @@ class DB {
async resetMottovote() {
const tables = await this.getTables();
await this.query("DROP TABLE IF EXISTS motto_votes");
+ await this.query("DROP TABLE IF EXISTS mottos");
await this.query(tables[6]);
await this.query(tables[7]);
await this.initMottovote();