| 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 }, () => ({})); |