mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-13 22:07:44 +02:00
10 lines
359 B
TypeScript
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 }, () => ({}));
|