-- +goose Up

-- "Квитанция о приёме" (Фаза 19) — issued at intake, before any work
-- happens. Widens document_templates' kind CHECK (010_document_templates.sql)
-- to allow a third row; no seed needed, same Go-default-until-saved
-- convention as invoice/act (see internal/doctemplates.Fetch).
ALTER TABLE document_templates DROP CONSTRAINT document_templates_kind_check;
ALTER TABLE document_templates ADD CONSTRAINT document_templates_kind_check CHECK (kind IN ('invoice', 'act', 'receipt'));
