add: chat invites table

This commit is contained in:
trisua 2025-09-09 23:12:49 -04:00
parent 01fa758e63
commit 87562d3b5d
6 changed files with 140 additions and 2 deletions

View file

@ -1,3 +1,4 @@
mod chat_invites;
mod chats;
mod messages;
mod notifications;
@ -52,6 +53,7 @@ impl DataManager {
execute!(&conn, sql::CREATE_TABLE_CHATS).unwrap();
execute!(&conn, sql::CREATE_TABLE_MESSAGES).unwrap();
execute!(&conn, sql::CREATE_TABLE_CHAT_INVITES).unwrap();
for x in sql::VERSION_MIGRATIONS.split(";") {
execute!(&conn, x).unwrap();