forked from imbytecat/fullstack-starter
refactor: flatten monorepo into standalone project
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export * from './todo'
|
||||
@@ -0,0 +1,8 @@
|
||||
import { boolean, pgTable, text } from 'drizzle-orm/pg-core'
|
||||
import { generatedFields } from '../fields'
|
||||
|
||||
export const todoTable = pgTable('todo', {
|
||||
...generatedFields,
|
||||
title: text('title').notNull(),
|
||||
completed: boolean('completed').notNull().default(false),
|
||||
})
|
||||
Reference in New Issue
Block a user