Skip to content

Commit

Permalink
Merge pull request #4 from PoCInnovation/fix-day2-subject
Browse files Browse the repository at this point in the history
fix: subject error
  • Loading branch information
adrienfort authored Feb 16, 2022
2 parents 747fcac + b0d973a commit 78f5368
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Software/day02/2 - ORM/Typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ You should see a new folder `prisma` in your current directory.

To begin, we will create only one table.

In the file `prisma/schema.prima`, create a new model `Artist` with the
In the file `prisma/schema.prisma`, create a new model `Artist` with the
following properties :
- `id`: the unique key of your model, it must be a string [automatically generated as uuid](https://www.prisma.io/docs/concepts/components/prisma-schema/data-model#defining-a-default-value).
- `name`: Artist's name
Expand Down Expand Up @@ -159,7 +159,7 @@ effort.
Add the following `script` to your `package.json` :

```json
"dev:db": "docker run --name {$DB_NAME} -e POSTGRES_PASSWORD=${DB_PASS} -e POSTGRES_USER=${DB_USER} -e POSTGRES_DB=${DB_NAME} -p ${DB_PORT}:${DB_PORT} -d postgres:alpine",
"dev:db": "docker run --name ${DB_NAME} -e POSTGRES_PASSWORD=${DB_PASS} -e POSTGRES_USER=${DB_USER} -e POSTGRES_DB=${DB_NAME} -p ${DB_PORT}:${DB_PORT} -d postgres:alpine",
```

You can now start the database
Expand Down Expand Up @@ -602,4 +602,4 @@ Some link to additional resources and cool stuff
- [Prisma Blog](https://www.prisma.io/blog/)
- [Comparing Prisma](https://www.prisma.io/docs/concepts/more/comparisons)

> Made with :heart: by PoC
> Made with :heart: by PoC

0 comments on commit 78f5368

Please sign in to comment.