diff options
| author | soryu <soryu@soryu.co> | 2026-01-06 04:08:11 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-11 03:01:13 +0000 |
| commit | 8b17a175c3e7e27b789812eba4e3cd760beadb10 (patch) | |
| tree | 7864dcaa2fa9db47fdfd4e8bfdb0b1dde832aa33 /makima/migrations/20250108000000_add_completion_actions.sql | |
| parent | f79c416c58557d2f946aa5332989afdfa8c021cd (diff) | |
| download | soryu-8b17a175c3e7e27b789812eba4e3cd760beadb10.tar.gz soryu-8b17a175c3e7e27b789812eba4e3cd760beadb10.zip | |
Initial Control system
Diffstat (limited to 'makima/migrations/20250108000000_add_completion_actions.sql')
| -rw-r--r-- | makima/migrations/20250108000000_add_completion_actions.sql | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/makima/migrations/20250108000000_add_completion_actions.sql b/makima/migrations/20250108000000_add_completion_actions.sql new file mode 100644 index 0000000..ba025cf --- /dev/null +++ b/makima/migrations/20250108000000_add_completion_actions.sql @@ -0,0 +1,13 @@ +-- Add completion action fields to tasks table +-- These control what happens when a task completes successfully + +-- Path to user's local repository (outside ~/.makima) +-- Overrides daemon's default_target_repo if set +ALTER TABLE tasks ADD COLUMN target_repo_path VARCHAR(512); + +-- Action to perform on completion: "none", "branch", "merge", or "pr" +-- - branch: Push task branch to target repo (default) +-- - merge: Auto-merge branch into target_branch in target repo +-- - pr: Create GitHub pull request +-- - none: Keep work in worktree only +ALTER TABLE tasks ADD COLUMN completion_action VARCHAR(32) DEFAULT 'branch'; |
