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

Vercel: Schema only change does not invalidate build cache #7291

Closed
janpio opened this issue May 27, 2021 · 3 comments · Fixed by #18437
Closed

Vercel: Schema only change does not invalidate build cache #7291

janpio opened this issue May 27, 2021 · 3 comments · Fixed by #18437
Labels
Milestone

Comments

@janpio
Copy link
Member

janpio commented May 27, 2021

Switching provider from postgresql to mysql does not cause Prisma Client to be regenerated.

Deploy project with this first, observe error:

datasource db {
  provider = "postgresql"
  url      = "mysql://root:@127.0.0.1:3306/e2e-tests"
}

Switch to this and keep seeing the same error:

datasource db {
  provider = "mysql"
  url      = "mysql://root:@127.0.0.1:3306/e2e-tests"
}
@janpio janpio added bug/0-unknown Bug is new, does not have information for reproduction or reproduction could not be confirmed. kind/bug A reported bug. topic: deployment-platform topic: deployment/vercel labels May 27, 2021
@pantharshit00
Copy link
Contributor

pantharshit00 commented May 28, 2021

I can reproduce this.

Here is the reproduction deployment which is our vercel account:

@janpio janpio added the team/client Issue for team Client. label May 31, 2021
@janpio
Copy link
Member Author

janpio commented Jul 16, 2021

Users are obviously also experiencing this problem: #8312 (comment)

@matthewmueller matthewmueller added this to the 3.12.0 milestone Mar 17, 2022
@millsp millsp added bug/2-confirmed Bug has been reproduced and confirmed. and removed bug/0-unknown Bug is new, does not have information for reproduction or reproduction could not be confirmed. labels Mar 28, 2022
@millsp millsp removed this from the 3.12.0 milestone Nov 29, 2022
@millsp
Copy link
Member

millsp commented Feb 23, 2023

Related prisma/docs#3590

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

Successfully merging a pull request may close this issue.

4 participants