Remove sims when the Discord user leaves

This commit is contained in:
Cadence Ember
2026-03-19 14:30:10 +13:00
parent d2557f73bb
commit 876d91fbf4
12 changed files with 187 additions and 6 deletions

View File

@@ -0,0 +1,10 @@
BEGIN TRANSACTION;
CREATE TABLE "app_user_install" (
"guild_id" TEXT NOT NULL,
"app_bot_id" TEXT NOT NULL,
"user_id" TEXT NOT NULL,
PRIMARY KEY ("guild_id", "app_bot_id", "user_id")
) WITHOUT ROWID;
COMMIT;

View File

@@ -1,4 +1,10 @@
export type Models = {
app_user_install: {
guild_id: string
app_bot_id: string
user_id: string
}
auto_emoji: {
name: string
emoji_id: string