From 68fbf6fdad0dfffb4cc9d2d72592466bce584947 Mon Sep 17 00:00:00 2001 From: Meer Estiyak <50128043+mmestiyak@users.noreply.github.com> Date: Fri, 17 Jan 2025 19:31:01 +0600 Subject: [PATCH] Updated README with latest Session model schema --- .../README.md | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/packages/apps/session-storage/shopify-app-session-storage-prisma/README.md b/packages/apps/session-storage/shopify-app-session-storage-prisma/README.md index 6b1392c7b4..09a9d2a1f3 100644 --- a/packages/apps/session-storage/shopify-app-session-storage-prisma/README.md +++ b/packages/apps/session-storage/shopify-app-session-storage-prisma/README.md @@ -6,14 +6,21 @@ Session storage for prisma requires a `schema.prisma` with a Session table with ```prisma model Session { - id String @id - shop String - state String - isOnline Boolean @default(false) - scope String? - expires DateTime? - accessToken String - userId BigInt? + id String @id + shop String + state String + isOnline Boolean @default(false) + scope String? + expires DateTime? + accessToken String + userId BigInt? + firstName String? + lastName String? + email String? + accountOwner Boolean? + locale String? + collaborator Boolean? + emailVerified Boolean? } ```