Initialize web, api and database for this project. Web uses better-auth, paraglide, tailwind, shadcn components, and more. Not much else has been done.
10 lines
262 B
TypeScript
10 lines
262 B
TypeScript
import { pgTable, serial, integer, text } from 'drizzle-orm/pg-core';
|
|
|
|
export const task = pgTable('task', {
|
|
id: serial('id').primaryKey(),
|
|
title: text('title').notNull(),
|
|
priority: integer('priority').notNull().default(1)
|
|
});
|
|
|
|
export * from './auth.schema';
|