You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
285 B
TypeScript

import { pgTable } from 'drizzle-orm/pg-core'
export const bybit_logs = pgTable('bybit_logs', (t) => ({
status: t.varchar('status').$type<'success' | 'failed'>().notNull(),
data: t.json('data').notNull(),
createdAt: t.bigint('created_at', { mode: 'number' }).notNull(),
}))