abac9dfe6c
- Add source code from apps/api - Add packages/db and packages/types workspace dependencies - Add GitHub Actions CI workflow (lint, typecheck, test, docker) - Generate pnpm-lock.yaml - Add .gitignore Co-Authored-By: Paperclip <noreply@paperclip.ing>
7 lines
465 B
SQL
7 lines
465 B
SQL
ALTER TABLE "clients" ADD COLUMN "stripe_customer_id" text;
|
|
ALTER TABLE "clients" ADD CONSTRAINT "idx_clients_stripe_customer_id" UNIQUE("stripe_customer_id");
|
|
ALTER TABLE "invoices" ADD COLUMN "stripe_payment_intent_id" text;
|
|
ALTER TABLE "invoices" ADD COLUMN "stripe_refund_id" text;
|
|
ALTER TABLE "invoices" ADD COLUMN "payment_failure_reason" text;
|
|
ALTER TABLE "invoices" ADD CONSTRAINT "idx_invoices_stripe_payment_intent_id" UNIQUE("stripe_payment_intent_id");
|