mirror of
https://gitea.gofwd.group/dstrawsb/ballistic-builder.git
synced 2025-12-06 02:36:44 -05:00
11 lines
376 B
TypeScript
11 lines
376 B
TypeScript
import { pgTable, integer, varchar, text,uuid} from "drizzle-orm/pg-core";
|
|
import { sql } from "drizzle-orm";
|
|
import { timestamps } from "./helpers/columns.helpers";
|
|
|
|
export const compartment = pgTable("compartment", {
|
|
id: uuid().defaultRandom().primaryKey().notNull(),
|
|
name: varchar({ length: 100 }).notNull(),
|
|
description: varchar({ length: 300 }),
|
|
...timestamps
|
|
});
|