This repository has been archived on 2026-11-21. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
encapi/migrations/0002_previous_environment.sql
T
unkin-agent 519088b9ba
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
Add restore-from-testing endpoint using a recorded previous environment
2026-11-08 17:28:52 +11:00

3 lines
134 B
SQL

ALTER TABLE nodes ADD COLUMN IF NOT EXISTS previous_environment TEXT
REFERENCES statuses(name) ON UPDATE CASCADE ON DELETE SET NULL;