I just verified that the command yarn rw prisma migrate dev
executes correctly on windows:
>yarn rw prisma migrate dev
yarn run v1.22.5
$ C:\work\learning\redwood\redwoodblog\node_modules\.bin\rw prisma migrate dev
Running Prisma CLI:
yarn prisma migrate dev --preview-feature --schema "C:\work\learning\redwood\redwoodblog\api\db\schema.prisma"
warn @prisma/cli has been renamed to prisma.
Please uninstall @prisma/cli: yarn remove @prisma/cli
And install prisma: yarn add prisma
Prisma schema loaded from db\schema.prisma
Datasource "DS": SQLite database "dev.db" at "file:./dev.db"
SQLite database dev.db created at file:./dev.db
√ Name of migration ... create posts
The following migration(s) have been created and applied from new schema changes:
migrations/
└─ 20210221005530_create_posts/
└─ migration.sql
✔ Generated Prisma Client (2.16.1) to .\..\node_modules\@prisma\client in 136ms
Everything is now in sync.
Done in 34.76s.
Using
"devDependencies": {
"@redwoodjs/core": "^0.25.1"
},
Note that I did not run yarn rw upgrade
, sorry