Files
Codewalkers/apps/server/drizzle/0023_rename_breakdown_decompose.sql
Lukas May b11cae998c refactor: Co-locate server artifacts under apps/server/
Move drizzle/, dist/, and coverage/ into apps/server/ so all
server-specific artifacts live alongside the source they belong to.

- git mv drizzle/ → apps/server/drizzle/
- drizzle.config.ts: out → ./apps/server/drizzle
- tsconfig.json: outDir → ./apps/server/dist, exclude drizzle dir
- package.json: main/bin/clean point to apps/server/dist/
- vitest.config.ts: reportsDirectory → ./apps/server/coverage
- .gitignore: add coverage/ entry
- ensure-schema.ts: update getMigrationsPath() for new layout
- docs/database-migrations.md: update drizzle/ references
2026-03-03 11:55:12 +01:00

13 lines
567 B
SQL

-- Rename agent modes: breakdown → plan, decompose → detail
UPDATE tasks SET category = 'plan' WHERE category = 'breakdown';
--> statement-breakpoint
UPDATE tasks SET category = 'detail' WHERE category = 'decompose';
--> statement-breakpoint
UPDATE agents SET mode = 'plan' WHERE mode = 'breakdown';
--> statement-breakpoint
UPDATE agents SET mode = 'detail' WHERE mode = 'decompose';
--> statement-breakpoint
UPDATE change_sets SET mode = 'plan' WHERE mode = 'breakdown';
--> statement-breakpoint
UPDATE change_sets SET mode = 'detail' WHERE mode = 'decompose';