Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

update env variables for database

Marc Seitz4d80ea924698
diff --git a/README.md b/README.md
index 02ca6b63..3f93dd8b 100644
--- a/README.md
+++ b/README.md
@@ -38,7 +38,7 @@ This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next
All you need is a Vercel account and access to Vercel Storage (_Blob_ and _Postgres_). Click the
button below to clone and deploy:
-[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fmfts%2Fpapermark&env=NEXTAUTH_SECRET,NEXTAUTH_URL,POSTGRES_PRISMA_URL,POSTGRES_URL_NON_POOLING,BLOB_READ_WRITE_TOKEN,GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET,NEXT_PUBLIC_BASE_URL&envDescription=Here's%20an%20example%20.env%20for%20all%20variables%20required&envLink=https%3A%2F%2Fgithub.com%2Fmfts%2Fpapermark%2Fblob%2Fmain%2F.env.example&project-name=my-awesome-papermark&repository-name=my-awesome-papermark&demo-title=Papermark&demo-description=Papermark%20is%20an%20open-source%20document%20sharing%20alternative%20to%20DocSend%20with%20built-in%20analytics.&demo-url=https%3A%2F%2Fwww.papermark.io&demo-image=https%3A%2F%2Fwww.papermark.io%2Fpapermark.png)
+[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fmfts%2Fpapermark&env=NEXTAUTH_SECRET,NEXTAUTH_URL,POSTGRES_PRISMA_URL,POSTGRES_PRISMA_URL_NON_POOLING,BLOB_READ_WRITE_TOKEN,GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET,NEXT_PUBLIC_BASE_URL&envDescription=Here's%20an%20example%20.env%20for%20all%20variables%20required&envLink=https%3A%2F%2Fgithub.com%2Fmfts%2Fpapermark%2Fblob%2Fmain%2F.env.example&project-name=my-awesome-papermark&repository-name=my-awesome-papermark&demo-title=Papermark&demo-description=Papermark%20is%20an%20open-source%20document%20sharing%20alternative%20to%20DocSend%20with%20built-in%20analytics.&demo-url=https%3A%2F%2Fwww.papermark.io&demo-image=https%3A%2F%2Fwww.papermark.io%2Fpapermark.png)
## Contributing
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index 9e1ba799..95a78b15 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -1,8 +1,8 @@
datasource db {
provider = "postgresql"
url = env("POSTGRES_PRISMA_URL") // uses connection pooling
- directUrl = env("POSTGRES_URL_NON_POOLING") // uses a direct connection
- shadowDatabaseUrl = env("POSTGRES_URL_NON_POOLING") // used for migrations
+ directUrl = env("POSTGRES_PRISMA_URL_NON_POOLING") // uses a direct connection
+ shadowDatabaseUrl = env("POSTGRES_PRISMA_URL_NON_POOLING") // used for migrations
}
generator client {