feat(01-01): configure Drizzle schema with entries table
- Schema with unified entries table (task/thought types) - Fields: id, title, content, type, status, pinned, dueDate, timestamps - Database connection with WAL mode - Drizzle kit scripts (db:generate, db:migrate, db:push, db:studio) - Database file at ./data/taskplaner.db
This commit is contained in:
@@ -9,7 +9,11 @@
|
||||
"preview": "vite preview",
|
||||
"prepare": "svelte-kit sync || echo ''",
|
||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
|
||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
||||
"db:generate": "drizzle-kit generate",
|
||||
"db:migrate": "drizzle-kit migrate",
|
||||
"db:push": "drizzle-kit push",
|
||||
"db:studio": "drizzle-kit studio"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/adapter-auto": "^7.0.0",
|
||||
|
||||
Reference in New Issue
Block a user