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

main
ts 10 lines 359 Bytes
Raw
1 import { defineRelations } from "drizzle-orm";
2 import { integer, pgTable, text } from "drizzle-orm/pg-core";
3
4 export const Widgets = pgTable("alchemy_postgres_widgets", {
5 id: integer("id").primaryKey(),
6 name: text("name").notNull(),
7 });
8 export type Widget = typeof Widgets.$inferSelect;
9
10 export const relations = defineRelations({ Widgets }, () => ({}));