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
6 lines
285 B
SQL
6 lines
285 B
SQL
-- Migration: Add config_json and credentials columns to accounts table
|
|
-- Credentials are now stored in DB and written to disk before spawning agents.
|
|
|
|
ALTER TABLE `accounts` ADD COLUMN `config_json` text;--> statement-breakpoint
|
|
ALTER TABLE `accounts` ADD COLUMN `credentials` text;
|