@optimatech88/titomeet-shared-lib 1.0.42 → 1.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Warnings:
|
|
3
|
+
|
|
4
|
+
- Added the required column `subtitle` to the `Pricing` table without a default value. This is not possible if the table is not empty.
|
|
5
|
+
- Added the required column `title` to the `Pricing` table without a default value. This is not possible if the table is not empty.
|
|
6
|
+
|
|
7
|
+
*/
|
|
8
|
+
-- AlterTable
|
|
9
|
+
ALTER TABLE "public"."Pricing" ADD COLUMN "features" TEXT[],
|
|
10
|
+
ADD COLUMN "priceSuffix" TEXT,
|
|
11
|
+
ADD COLUMN "subtitle" TEXT NOT NULL,
|
|
12
|
+
ADD COLUMN "title" TEXT NOT NULL;
|
package/prisma/schema.prisma
CHANGED
|
@@ -368,7 +368,13 @@ enum PricingDuration {
|
|
|
368
368
|
}
|
|
369
369
|
|
|
370
370
|
model Pricing {
|
|
371
|
-
id
|
|
371
|
+
id String @id @default(cuid())
|
|
372
|
+
title String
|
|
373
|
+
subtitle String
|
|
374
|
+
|
|
375
|
+
priceSuffix String?
|
|
376
|
+
|
|
377
|
+
features String[]
|
|
372
378
|
|
|
373
379
|
type PricingType @default(EVENT_CREATOR)
|
|
374
380
|
duration PricingDuration @default(MONTHLY)
|
|
@@ -377,6 +383,7 @@ model Pricing {
|
|
|
377
383
|
createdAt DateTime @default(now())
|
|
378
384
|
updatedAt DateTime @updatedAt
|
|
379
385
|
transactions Transaction[]
|
|
386
|
+
active Boolean @default(true)
|
|
380
387
|
}
|
|
381
388
|
|
|
382
389
|
enum PaymentMethod {
|