Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a note about the two commands you will use with your schema to the top of the schema file #8589

Merged
merged 4 commits into from
Dec 27, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/create-redwood-app/templates/js/api/db/schema.prisma
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Don't forget to tell Prisma about your edits to this file using
// `yarn rw prisma migrate dev` or `yarn rw prisma db push`.
// `migrate` is like committing while `push` is for prototyping.
// Read more about both here:
// https://www.prisma.io/docs/orm/prisma-migrate

datasource db {
provider = "sqlite"
url = env("DATABASE_URL")
Expand Down
6 changes: 6 additions & 0 deletions packages/create-redwood-app/templates/ts/api/db/schema.prisma
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Don't forget to tell Prisma about your edits to this file using
// `yarn rw prisma migrate dev` or `yarn rw prisma db push`.
// `migrate` is like committing while `push` is for prototyping.
// Read more about both here:
// https://www.prisma.io/docs/orm/prisma-migrate

datasource db {
provider = "sqlite"
url = env("DATABASE_URL")
Expand Down
Loading