forked from syntaxbullet/AuroraBot-discord
fix: address code review findings for analytics and security
This commit is contained in:
@@ -13,7 +13,13 @@ import {
|
||||
bigserial,
|
||||
check
|
||||
} from 'drizzle-orm/pg-core';
|
||||
import { relations, sql } from 'drizzle-orm';
|
||||
import { relations, sql, type InferSelectModel } from 'drizzle-orm';
|
||||
|
||||
export type User = InferSelectModel<typeof users>;
|
||||
export type Transaction = InferSelectModel<typeof transactions>;
|
||||
export type ModerationCase = InferSelectModel<typeof moderationCases>;
|
||||
export type Item = InferSelectModel<typeof items>;
|
||||
export type Inventory = InferSelectModel<typeof inventory>;
|
||||
|
||||
// --- TABLES ---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user