a template starter repo for sveltekit projects
0

Configure Feed

Select the types of activity you want to include in your feed.

chore: delete dead Drizzle factory and task schema

Remove speculative scaffolding (getDb factory and task table) that has
zero callers. When a real query is needed, recreate the module with the
queries that use it.

Closes #2

-13
-4
src/lib/server/db/index.ts
··· 1 - import { drizzle } from 'drizzle-orm/d1'; 2 - import * as schema from './schema'; 3 - 4 - export const getDb = (d1: D1Database) => drizzle(d1, { schema });
-9
src/lib/server/db/schema.ts
··· 1 - import { integer, sqliteTable, text } from 'drizzle-orm/sqlite-core'; 2 - 3 - export const task = sqliteTable('task', { 4 - id: text('id') 5 - .primaryKey() 6 - .$defaultFn(() => crypto.randomUUID()), 7 - title: text('title').notNull(), 8 - priority: integer('priority').notNull().default(1) 9 - });