This should be a nice test! Hopefully other users cannot delete my recipes. Though they're setup to soft delete.
14 lines
329 B
PL/PgSQL
14 lines
329 B
PL/PgSQL
-- Author: Hayden Hargreaves (hhargreaves2006@gmail.com)
|
|
-- Desc: Updated the E_ENGAGEMENT enum to contain created and deleted.
|
|
-- Date: 01/10/2026
|
|
|
|
BEGIN;
|
|
|
|
ALTER TYPE E_ENGAGEMENT
|
|
ADD VALUE IF NOT EXISTS 'created'; -- created recipe
|
|
|
|
ALTER TYPE E_ENGAGEMENT
|
|
ADD VALUE IF NOT EXISTS 'deleted'; -- deleted recipe
|
|
|
|
COMMIT;
|