@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
ts 8 lines 337 Bytes
Raw
1 import { boolean, pgSchema, text, timestamp, uuid } from "drizzle-orm/pg-core";
2
3 export const Todos = pgSchema("app").table("todos", {
4 id: uuid("id").primaryKey(),
5 text: text("text").notNull(),
6 done: boolean("done").notNull().default(false),
7 createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
8 });