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

Erro in migration #15352

Closed
GabrielBarbosa07 opened this issue Sep 15, 2022 · 2 comments
Closed

Erro in migration #15352

GabrielBarbosa07 opened this issue Sep 15, 2022 · 2 comments

Comments

@GabrielBarbosa07
Copy link

Hi Prisma Team! The following command just crashed.

Command

migrate reset

Versions

Name Version
Platform windows
Node v16.13.2
Prisma CLI 4.3.1
Engine c875e43600dfe042452e0b868f7a48b817b9640b

Error

Error: Error in migration engine.
Reason: [migration-engine\connectors\sql-migration-connector\src\flavour\sqlite.rs:256:46] failed to truncate sqlite file: Os { code: 5, kind: PermissionDenied, message: "Acesso negado." }

Please create an issue with your `schema.prisma` at
https://github.com/prisma/prisma/issues/new

@denilsonpy
Copy link

denilsonpy commented Sep 15, 2022

Hi Gabriel, the error asks you to open the issue with your schema.prisma (Make sure to remove your sensitive data).

The error informs that your database access credentials are not valid, check if they are correct.

@denilsonpy
Copy link

Duplicate of #13991

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants