Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
Adds a note about the two commands you will use with your schema to t…
…he top of the schema file
  • Loading branch information
orta committed Jun 12, 2023
commit 5e2287cf3c4667608f483da9a155d03a00c8093e
3 changes: 3 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,6 @@
// Update db during dev, creates no migration files: yarn rw prisma db push
// When you're ready to commit: yarn rw prisma migrate dev

datasource db {
provider = "sqlite"
url = env("DATABASE_URL")
Expand Down
3 changes: 3 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,6 @@
// Update db during dev, creates no migration files: yarn rw prisma db push
// When you're ready to commit: yarn rw prisma migrate dev

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