summaryrefslogtreecommitdiff
path: root/db/schema/emailLogs.ts
blob: 3a6f83dcf778130007c37ae3e76b2c19c33497d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import { pgTable, serial, text, timestamp } from "drizzle-orm/pg-core";

export const emailLogs = pgTable("email_logs", {
  id: serial("id").primaryKey(),
  from: text("from").notNull(),
  to: text("to").notNull(),
  cc: text("cc"),
  subject: text("subject").notNull(),
  createdAt: timestamp("created_at").defaultNow().notNull(),
});