datasource db {
provider = "sqlite"
url = "file:../dev.db"
}
When I run npx prisma2 lift save --name 'init' on a new project, it asks to create a sqlite db file and then hangs in terminal exactly cutting some words:
You are trying to create a migration for Sqlite database d
I have to ctrl+c to kill the command and then on 2nd run it creates a migration properly.
As a sidenote it create a db file in the cwd, not in the proper path, so in git I have a good file and a one empty file.
Note, that this happens on a windows machine.
Hi,
Thanks for reporting this but this has been already reported once. So I am going to close this as a duplicate of https://github.com/prisma/lift/issues/219
@timsuchanek I was also able to reproduce the issue on Mac with the detailed info from the other ticket. It is related to relative paths.