mirror of
https://github.com/hanzoai/calendar.git
synced 2026-10-30 14:46:43 +00:00
* feat: add BOOKING_PAID on enums * feat: trigger the BOOKING_PAID webhook * refactor: create payment variable * feat: add REJECTED and REQUESTED on enums * feat: create migration to booking werbhooks * Update packages/features/webhooks/lib/constants.ts Co-authored-by: Syed Ali Shahbaz <[email protected]> * Update packages/prisma/schema.prisma Co-authored-by: Syed Ali Shahbaz <[email protected]> * Update packages/prisma/migrations/20230513235419_add_booking_webhooks/migration.sql Co-authored-by: Syed Ali Shahbaz <[email protected]> --------- Co-authored-by: Syed Ali Shahbaz <[email protected]> Co-authored-by: alannnc <[email protected]> Co-authored-by: Omar López <[email protected]>
10 lines
336 B
SQL
10 lines
336 B
SQL
-- AlterEnum
|
|
-- This migration adds more than one value to an enum.
|
|
-- With PostgreSQL versions 11 and earlier, this is not possible
|
|
-- in a single migration. This can be worked around by creating
|
|
-- multiple migrations, each migration adding only one value to
|
|
-- the enum.
|
|
|
|
|
|
ALTER TYPE "WebhookTriggerEvents" ADD VALUE 'BOOKING_PAID';
|