Files
a804a29516 feat: Stripe paid apps flow (#12103)
* chore: Stripe paid apps flow

* chore: Subscription

* chore: Webhooks

* chore: Abstract functions

* chore: Lockfile

* chore: Webhook handler

* chore: Use catch-all

* chore: Webhook changes, etc

* chore: Cleanup

* chore: Use actual price id

* chore: Updates

* chore: Install normally until expiry date

* Disable team install for paid apps and cal.ai\

* Fix the same at another place

* Fix Typescript error

* redactedCause doesnt have message has enumerable prop

* Fix reinstallation of an already installed app

* chore: Remove unused deps

* chore: Ensure index

* chore: Price in usd

* chore: PR suggestion

* Fix missing packages in yarn.lock

---------

Co-authored-by: Hariom <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
2023-11-15 09:29:41 -03:00

8 lines
254 B
SQL

-- AlterTable
ALTER TABLE "Credential" ADD COLUMN "billingCycleStart" INTEGER,
ADD COLUMN "paymentStatus" TEXT,
ADD COLUMN "subscriptionId" TEXT;
-- CreateIndex
CREATE INDEX "Credential_subscriptionId_idx" ON "Credential"("subscriptionId");