Skip to content

Commit

Permalink
Fix documentation urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Errorname committed Jan 27, 2020
1 parent 03e4a97 commit a90c489
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/introspection/src/commands/Init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ export const defaultSchema = `// This is your Prisma schema file,
// The \`datasource\` block is used to specify the connection to your DB.
// Set the \`provider\` field to match your DB type: "postgresql", "mysql" or "sqlite".
// The \`url\` field must contain the connection string to your DB.
// Learn more about connection strings for your DB: https://pris.ly/connection-strings
// Learn more about connection strings for your DB: https://pris.ly/d/connection-strings
datasource db {
provider = "postgresql" // other options are: "mysql" and "sqlite"
url = "postgresql://johndoe:johndoe@localhost:5432/mydb?schema=public"
}
// Other examples for connection strings are:
// SQLite: url = "sqlite:./dev.db"
// MySQL: url = "mysql://johndoe:johndoe@localhost:3306/mydb"
// You can also use environment variables to specify the connection string: https://pris.ly/prisma-schema#using-environment-variables
// You can also use environment variables to specify the connection string: https://pris.ly/d/prisma-schema#using-environment-variables
// By adding the \`generator\` block, you specify that you want to generate Prisma's DB client.
// The client is generated by runnning the \`prisma generate\` command and will be located in \`node_modules/@prisma\` and can be imported in your code as:
Expand Down

0 comments on commit a90c489

Please sign in to comment.