mirror of
https://gitlab.com/qwerinope/qweribot.git
synced 2026-02-04 15:26:58 +01:00
rewrite kd leaderboard generation, add explicit relations to schema
This commit is contained in:
@@ -3,7 +3,6 @@ import { getLoots } from "db/schema";
|
||||
import type { inventory } from "items";
|
||||
import type User from "user";
|
||||
|
||||
|
||||
export async function createGetLootRecord(user: User, qbucks: number, inventory: inventory) {
|
||||
await db.insert(getLoots).values({
|
||||
user: parseInt(user.id),
|
||||
|
||||
Reference in New Issue
Block a user