mirror of
https://github.com/qwerinope/qweribot.git
synced 2025-12-18 21:11:39 +01:00
minor fixes, add superloot cheer
This commit is contained in:
@@ -107,11 +107,14 @@ export const anivTimeoutsRelations = relations(anivTimeouts, ({ one }) => ({
|
||||
})
|
||||
}));
|
||||
|
||||
export type lootTriggers = "getloot" | "superloot";
|
||||
|
||||
export const getLoots = pgTable('getLoots', {
|
||||
id: uuid().defaultRandom().primaryKey(),
|
||||
user: integer().notNull().references(() => users.id),
|
||||
qbucks: integer().notNull(),
|
||||
items: jsonb().$type<inventory>().notNull(),
|
||||
trigger: varchar().$type<lootTriggers>().notNull(),
|
||||
created: timestamp().defaultNow().notNull()
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user