Files
warmbly/internal/infrastructure/db/migrations/000002_provisioning_template_draft.up.sql
T
Matthew Meszaros 2430095197 feat: move infrastructure state off dynamodb
Remove DynamoDB-backed storage paths, add Postgres/HTTP repositories for mailbox state maps, wire the internal message-map API, and add provisioning runner/migration plumbing.
2026-06-02 15:54:12 +02:00

6 lines
337 B
SQL

-- Provisioning templates gained a "draft" concept in the admin UI (save a
-- template without it becoming usable / auto-provision-eligible). Persist it
-- so the flag survives a round-trip instead of being silently dropped.
ALTER TABLE public.provisioning_templates
ADD COLUMN IF NOT EXISTS is_draft boolean NOT NULL DEFAULT false;