From 08ed854797b7f156ecaa471546a081b9021ad0e1 Mon Sep 17 00:00:00 2001 From: Nix Krystik Date: Thu, 27 Aug 2026 22:50:58 +0800 Subject: [PATCH] (database): remove deleted types & comments. --- src/utils/database.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/utils/database.ts b/src/utils/database.ts index 66f3b35..82dc9dc 100644 --- a/src/utils/database.ts +++ b/src/utils/database.ts @@ -1,12 +1,10 @@ import postgres from "postgres"; -import { Configuration, Settings } from "../types"; +import { Configuration } from "../types"; // ---------- const client = postgres(process.env["DATABASE_URL"]!); -// --- Settings --- - export async function init(): Promise { await client` CREATE TABLE IF NOT EXISTS settings ( @@ -54,8 +52,6 @@ export async function init(): Promise { `; } -// Guild Configuration - export async function getConfiguration(guildId: string): Promise { const [row] = await client` SELECT config FROM settings