Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
- 16 down SQL files in migrations/down/ for each incremental migration - db::run_down_migrations() executes rollback files in reverse order - migrate_down CLI task: task=migrate_down timestamp=20260402 - Initial schema and seed data excluded (would be destructive)
12 lines
676 B
SQL
12 lines
676 B
SQL
-- Down: Remove extension columns from agent_templates
|
|
DROP INDEX IF EXISTS idx_agent_templates_source_id;
|
|
ALTER TABLE agent_templates DROP COLUMN IF EXISTS source_id;
|
|
ALTER TABLE agent_templates DROP COLUMN IF EXISTS version;
|
|
ALTER TABLE agent_templates DROP COLUMN IF EXISTS emoji;
|
|
ALTER TABLE agent_templates DROP COLUMN IF EXISTS communication_style;
|
|
ALTER TABLE agent_templates DROP COLUMN IF EXISTS personality;
|
|
ALTER TABLE agent_templates DROP COLUMN IF EXISTS quick_commands;
|
|
ALTER TABLE agent_templates DROP COLUMN IF EXISTS welcome_message;
|
|
ALTER TABLE agent_templates DROP COLUMN IF EXISTS scenarios;
|
|
ALTER TABLE agent_templates DROP COLUMN IF EXISTS soul_content;
|