Skip to content

Commit

Permalink
Update photonjs.md
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Jul 26, 2019
1 parent bb114b4 commit b54d43e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/core/generators/photonjs.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ Photon JS depends on a query engine that's running as a binary right next to you
```prisma
generator photonjs {
provider = "photonjs"
target = "darwin"
platforms = ["native"]
}
```

Note that `darwin` is the default `target`. Here's a list of supported platforms and their targets:
Note that `["native"]` is the default value for `platforms`. Here's a list of supported platforms:

| **Platform** | **Target** |
| :---: | :---: |
Expand All @@ -33,7 +33,7 @@ Note that `darwin` is the default `target`. Here's a list of supported platforms

Therefore, when deploying your Photon-based application to production, you need to ensure that you're specifying the right _compilation target_ for the binary.

> **ATTENTION**: The `target` field on the `generator` block is not yet implemented. You can track the progress of the implementation [on GitHub](https://github.com/prisma/prisma2/issues/97). You can also check ou the [specification](https://github.com/prisma/specs/tree/master/binary-workflows) for more details.
You can read more about the `platforms` field in the [specification](https://github.com/prisma/specs/tree/master/binary-workflows)

## Example

Expand Down Expand Up @@ -78,4 +78,4 @@ When generating Photon JS based on your [data model definition](./data-modeling.
- `DateTime`
- `WhereInput`
- `IDFilter`
- `StringFilter`
- `StringFilter`

0 comments on commit b54d43e

Please sign in to comment.