Files
co-lite/openspec/changes/archive/2026-12-02-polish-e2e-followups/sql/01-soft-delete.sql
T

5 lines
355 B
SQL

-- Co-Lite change polish-e2e-followups: soft delete for interests and roles. Additive only.
-- A deleted row keeps its name (the unique keys are unchanged) and its history; lists and pickers hide it.
ALTER TABLE `service-counter`.`interest` ADD COLUMN `deleted_at` datetime NULL;
ALTER TABLE `service-system`.`role` ADD COLUMN `deleted_at` datetime NULL;