Files
siphoned-valut/db/schema.ts
T
2026-10-12 23:20:56 +03:30

5 lines
383 B
TypeScript

import { sqliteTable, text, integer } from 'drizzle-orm/sqlite-core';
export const transactions = sqliteTable('transactions', {
id: text('id').primaryKey(), date: text('date').notNull(), player: text('player').notNull(), reason: text('reason').notNull(), amount: integer('amount').notNull(), importedAt: text('imported_at').notNull(), importedBy: text('imported_by').notNull(),
});