blank sveltekit project
This commit is contained in:
9
src/lib/server/db/schema.ts
Normal file
9
src/lib/server/db/schema.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
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';
|
||||
Reference in New Issue
Block a user