summaryrefslogtreecommitdiff
path: root/makima/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'makima/migrations')
-rw-r--r--makima/migrations/20260302000000_add_contract_to_directive_steps.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/makima/migrations/20260302000000_add_contract_to_directive_steps.sql b/makima/migrations/20260302000000_add_contract_to_directive_steps.sql
new file mode 100644
index 0000000..f018aa4
--- /dev/null
+++ b/makima/migrations/20260302000000_add_contract_to_directive_steps.sql
@@ -0,0 +1,4 @@
+-- Add contract_id to directive_steps for contract-backed execution
+ALTER TABLE directive_steps ADD COLUMN contract_id UUID REFERENCES contracts(id);
+-- Add contract_type to specify what kind of contract to create
+ALTER TABLE directive_steps ADD COLUMN contract_type VARCHAR(32);