9 lines
485 B
SQL
9 lines
485 B
SQL
|
|
-- =====================================================================
|
||
|
|
-- IDENTITY SCHEMA — Part 15: Add Tara and SnapPay payment gateways
|
||
|
|
-- =====================================================================
|
||
|
|
-- ALTER TYPE ... ADD VALUE cannot run inside a transaction block in older
|
||
|
|
-- Postgres; use IF NOT EXISTS to make it idempotent.
|
||
|
|
|
||
|
|
ALTER TYPE identity.payment_gateway ADD VALUE IF NOT EXISTS 'Tara';
|
||
|
|
ALTER TYPE identity.payment_gateway ADD VALUE IF NOT EXISTS 'SnapPay';
|