@optimatech88/titomeet-shared-lib 1.0.34 → 1.0.35

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optimatech88/titomeet-shared-lib",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -0,0 +1,13 @@
1
+ -- CreateTable
2
+ CREATE TABLE "Newsletter" (
3
+ "id" TEXT NOT NULL,
4
+ "email" TEXT NOT NULL,
5
+ "unsubscribedAt" TIMESTAMP(3),
6
+ "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
7
+ "updatedAt" TIMESTAMP(3) NOT NULL,
8
+
9
+ CONSTRAINT "Newsletter_pkey" PRIMARY KEY ("id")
10
+ );
11
+
12
+ -- CreateIndex
13
+ CREATE UNIQUE INDEX "Newsletter_email_key" ON "Newsletter"("email");
@@ -327,3 +327,13 @@ enum PaymentStatus {
327
327
  FAILED
328
328
  REFUNDED
329
329
  }
330
+
331
+
332
+ model Newsletter {
333
+ id String @id @default(cuid())
334
+ email String @unique
335
+ unsubscribedAt DateTime?
336
+
337
+ createdAt DateTime @default(now())
338
+ updatedAt DateTime @updatedAt
339
+ }