clean up database and update depedencies

This commit is contained in:
Ren Amamiya
2023-07-18 14:37:03 +07:00
parent 100204b267
commit 12bfa2fca1
8 changed files with 176 additions and 184 deletions

View File

@@ -0,0 +1,6 @@
-- Add migration script here
DROP TABLE IF EXISTS blacklist;
DROP TABLE IF EXISTS channel_messages;
DROP TABLE IF EXISTS channels;

View File

@@ -107,6 +107,12 @@ fn main() {
sql: include_str!("../migrations/20230619082415_add_replies.sql"),
kind: MigrationKind::Up,
},
Migration {
version: 20230718072634,
description: "clean up",
sql: include_str!("../migrations/20230718072634_clean_up_old_tables.sql"),
kind: MigrationKind::Up,
},
],
)
.build(),