diff options
| author | soryu <soryu@soryu.co> | 2026-02-02 02:34:50 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-02-02 02:34:50 +0000 |
| commit | 151e9d87e117b7980e6aad522ac8f3633eeca87a (patch) | |
| tree | e80fb4301361b3b12e5abf8e442603db2d0622dc /makima/migrations/20260202000000_remove_red_team_system.sql | |
| parent | a2c147ddd59f55a07b5be0c8970169726b55c876 (diff) | |
| download | soryu-151e9d87e117b7980e6aad522ac8f3633eeca87a.tar.gz soryu-151e9d87e117b7980e6aad522ac8f3633eeca87a.zip | |
Make makima more opinionated and structured
Diffstat (limited to 'makima/migrations/20260202000000_remove_red_team_system.sql')
| -rw-r--r-- | makima/migrations/20260202000000_remove_red_team_system.sql | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/makima/migrations/20260202000000_remove_red_team_system.sql b/makima/migrations/20260202000000_remove_red_team_system.sql new file mode 100644 index 0000000..0a5bbf8 --- /dev/null +++ b/makima/migrations/20260202000000_remove_red_team_system.sql @@ -0,0 +1,15 @@ +-- Remove red team system +-- This migration drops all red team related tables, columns, and indexes + +-- Drop red team notifications table +DROP TABLE IF EXISTS red_team_notifications; + +-- Drop red team index on tasks +DROP INDEX IF EXISTS idx_tasks_contract_red_team; + +-- Remove red team column from tasks +ALTER TABLE tasks DROP COLUMN IF EXISTS is_red_team; + +-- Remove red team columns from contracts +ALTER TABLE contracts DROP COLUMN IF EXISTS red_team_enabled; +ALTER TABLE contracts DROP COLUMN IF EXISTS red_team_prompt; |
