import { pgTable, serial, text, timestamp, boolean } from "drizzle-orm/pg-core"; export const geminiAccountsTable = pgTable("geminigen_accounts", { id: serial("id").primaryKey(), label: text("label").notNull().default(""), bearerToken: text("bearer_token").notNull(), refreshToken: text("refresh_token"), isActive: boolean("is_active").notNull().default(true), lastUsedAt: timestamp("last_used_at"), createdAt: timestamp("created_at").defaultNow().notNull(), }); export type GeminiAccount = typeof geminiAccountsTable.$inferSelect;