Init applications
This commit is contained in:
14
database/schema/basic.db.ts
Normal file
14
database/schema/basic.db.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user