9 lines
260 B
TypeScript
9 lines
260 B
TypeScript
import { pgTableCreator, text, uuid } from "drizzle-orm/pg-core";
|
|
|
|
const moduleTable = pgTableCreator((localName) => `example_${localName}`);
|
|
|
|
export const records = moduleTable("records", {
|
|
id: uuid("id").primaryKey(),
|
|
value: text("value").notNull(),
|
|
});
|