Add Stripe migration files
This commit is contained in:
parent
4feb65d130
commit
523a2172af
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
Warnings:
|
||||
|
||||
- Added the required column `stripeCustomerId` to the `Team` table without a default value. This is not possible if the table is not empty.
|
||||
- Added the required column `stripeSubscriptionId` to the `Team` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "Team" ADD COLUMN "stripeCustomerId" TEXT NOT NULL,
|
||||
ADD COLUMN "stripeSubscriptionId" TEXT NOT NULL;
|
|
@ -0,0 +1,4 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE "Team" ADD COLUMN "stripeCustomerId" TEXT,
|
||||
ADD COLUMN "stripeSubscriptionId" TEXT,
|
||||
ADD COLUMN "subscriptionStatus" TEXT;
|
|
@ -207,8 +207,9 @@ model Team {
|
|||
hideBranding Boolean @default(false)
|
||||
members Membership[]
|
||||
eventTypes EventType[]
|
||||
stripeCustomerId String
|
||||
stripeSubscriptionId String
|
||||
stripeCustomerId String?
|
||||
stripeSubscriptionId String?
|
||||
subscriptionStatus String?
|
||||
}
|
||||
|
||||
enum MembershipRole {
|
||||
|
|
Loading…
Reference in New Issue
Block a user