octopod/migrations/revert/remove_archived_column.sql
iko ac83908e80 Refactored status changes and added deployment locking (#24)
* First stab at refactoring status transitions

* Removed 'archived' column from database

* Added deployment locking

* Added transition possibility assertion at the start of background tasks

* Added a notification control script (#27)

* Added notification script

* Updated docs

* Fixed link

* fixed link

* Fixed response error body rendering

* Resolved comments and fixed some bugs after rebasing

* added info script back in
2021-07-16 15:56:18 +03:00

9 lines
157 B
PL/PgSQL

-- Revert octopod:remove_archived_column from pg
BEGIN;
ALTER TABLE "public"."deployments" ADD COLUMN "archived" bool NOT NULL DEFAULT 'false';
COMMIT;