Skip to content

Commit 55822d1

Browse files
Update src/content/docs/workers/tutorials/using-prisma-postgres-with-workers/index.mdx
Co-authored-by: Nikolas <[email protected]>
1 parent b7e6305 commit 55822d1

File tree

1 file changed

+2
-4
lines changed
  • src/content/docs/workers/tutorials/using-prisma-postgres-with-workers

1 file changed

+2
-4
lines changed

src/content/docs/workers/tutorials/using-prisma-postgres-with-workers/index.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,12 @@ Note that Cloudflare Workers don't support `.env` files. You will use a file cal
9999

100100
### 2.3. Prepare environment variables
101101

102-
Create a `.dev.vars` file in the root of your application and copy the `DATABASE_URL` from the `.env` file. You can also do this via the CLI:
102+
Rename the `.env` file in the root of your application to `.dev.vars` file:
103103

104104
```sh
105-
cp .env .dev.vars
105+
mv .env .dev.vars
106106
```
107107

108-
Then, you can remove the `.env` file.
109-
110108
### 2.4. Apply database schema changes
111109

112110
Open the `schema.prisma` file in the `prisma` folder and add the following `User` model to your database:

0 commit comments

Comments
 (0)