Skip to content

Docs: Unaffected row highlighting instead of actual affected row - #4806

Merged
ruheni merged 1 commit into
prisma:mainfrom
yasirunilan:postgres-example-update
May 25, 2023
Merged

Docs: Unaffected row highlighting instead of actual affected row#4806
ruheni merged 1 commit into
prisma:mainfrom
yasirunilan:postgres-example-update

Conversation

@yasirunilan

Copy link
Copy Markdown
Contributor

Describe this PR

In the introspection documents related to Typescript/Javascript for Postgres, after manual editing, the affected row is highlighted in the given example code. But for the Postgres example, it highlights the unaffected row instead of the affected row. The issue only exists for Postgresql.

Changes

  • Updated the line number that needed to be highlighted.

Any other relevant information

The following shows the difference between the Postgres example and the MySQL example.
MySQL

mysql

Postgres

postgress

- wrong row was highlighted in example and corrected it
@vercel

vercel Bot commented May 24, 2023

Copy link
Copy Markdown

@yasirunilan is attempting to deploy a commit to the Prisma Team on Vercel.

A member of the Team first needs to authorize it.

@yasirunilan

Copy link
Copy Markdown
Contributor Author

@all-contributors please add @yasirunilan for doc and example

@allcontributors

Copy link
Copy Markdown
Contributor

@yasirunilan

I've put up a pull request to add @yasirunilan! 馃帀

@janpio
janpio requested a review from ruheni May 24, 2023 18:00
@ruheni

ruheni commented May 25, 2023

Copy link
Copy Markdown
Contributor

Thanks for catching this. 馃檹

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants