15 lines
411 B
TypeScript
15 lines
411 B
TypeScript
import { pgTable, text, varchar } from "drizzle-orm/pg-core";
|
|
import { createdAt, id, updatedAt } from "../common";
|
|
|
|
|
|
export const attributeFile = pgTable("nvwa_attribute_file", {
|
|
id,
|
|
name: varchar("name", { length: 255 }).notNull(),
|
|
type: varchar("type", { length: 255 }).notNull(),
|
|
description: text("description"),
|
|
url: varchar("url", { length: 255 }),
|
|
createdAt,
|
|
updatedAt,
|
|
});
|
|
|