Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Add `totalLinks` to `Project`

Tim Wilson4800de402e85
diff --git a/packages/prisma/schema/workspace.prisma b/packages/prisma/schema/workspace.prisma
index ae8b725a48..9fcd8550e8 100644
--- a/packages/prisma/schema/workspace.prisma
+++ b/packages/prisma/schema/workspace.prisma
@@ -14,6 +14,8 @@ model Project {
shopifyStoreId String? @unique // for Shopify Integration
invoicePrefix String? @unique // The prefix for the customer used to generate unique invoice numbers
+ totalLinks Int @default(0) // Total number of links in the workspace
+
usage Int @default(0)
usageLimit Int @default(1000)
linksUsage Int @default(0)