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

Tab characters make schema parser unhappy + unclear error #327

Closed
sdnts opened this issue Aug 5, 2019 · 1 comment
Closed

Tab characters make schema parser unhappy + unclear error #327

sdnts opened this issue Aug 5, 2019 · 1 comment
Labels
bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug.
Milestone

Comments

@sdnts
Copy link
Contributor

sdnts commented Aug 5, 2019

Steps to reproduce:

  1. In a new schema.prisma file, type in:
datasource db {
  provider = "postgresql"
  url      = "postgresql://siddhant@localhost:5432/experiments?schema=public"
}

model User {
  id      Int    @id
}
  1. If you're on VSCode, Cmd+Shift+P -> Convert indentation to Tabs

prisma2 dev or a lift save + up will now fail.

FWIW, the VSCode plugin does complain before running the migration, but it is not clear what the error actually is.

@matthewmueller
Copy link
Contributor

matthewmueller commented Aug 20, 2019

@matthewmueller matthewmueller removed their assignment Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug.
Projects
None yet
Development

No branches or pull requests

4 participants