9 lines
283 B
TypeScript
9 lines
283 B
TypeScript
import { pgTable, serial, text, timestamp } from 'drizzle-orm/pg-core';
|
|
|
|
export const projects = pgTable('projects', {
|
|
id: serial('id').primaryKey(),
|
|
name: text('name').notNull(),
|
|
description: text('description'),
|
|
createdAt: timestamp('created_at').defaultNow(),
|
|
});
|