t3-code-android-nightly/.repos/alchemy-effect/packages/alchemy/test/Planetscale/Postgres/fixtures/schema.ts
Julius Marminge bd851c0203
chore: add Alchemy reference repo subtree (#2918)
Co-authored-by: codex <codex@users.noreply.github.com>
2026-06-03 00:08:31 +00:00

10 lines
359 B
TypeScript

import { defineRelations } from "drizzle-orm";
import { integer, pgTable, text } from "drizzle-orm/pg-core";
export const Widgets = pgTable("alchemy_postgres_widgets", {
id: integer("id").primaryKey(),
name: text("name").notNull(),
});
export type Widget = typeof Widgets.$inferSelect;
export const relations = defineRelations({ Widgets }, () => ({}));