Files
SkyMoney/api/prisma/migrations/20251122072606_add_auto_payment_fields/migration.sql

7 lines
298 B
SQL

-- AlterTable
ALTER TABLE "FixedPlan" ADD COLUMN "autoPayEnabled" BOOLEAN NOT NULL DEFAULT false,
ADD COLUMN "lastAutoPayment" TIMESTAMP(3),
ADD COLUMN "maxRetryAttempts" INTEGER NOT NULL DEFAULT 3,
ADD COLUMN "nextPaymentDate" TIMESTAMP(3),
ADD COLUMN "paymentSchedule" JSONB;