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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

prisma2 dev: Asks to save changes into a migration file by running prisma2 lift save but gives Everything up-to-date in terminal #651

Closed
deadcoder0904 opened this issue Sep 30, 2019 · 3 comments
Assignees
Labels
bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug.
Milestone

Comments

@deadcoder0904
Copy link
Contributor

Basically looks like 馃憞

prisma2 dev

But when I do it, it gives Everything up-to-date in terminal

@sdnts sdnts transferred this issue from prisma/studio Sep 30, 2019
@janpio janpio changed the title Asks to save changes into a migration file by running prisma2 lift save but gives Everything up-to-date in terminal prisma2 dev: Asks to save changes into a migration file by running prisma2 lift save but gives Everything up-to-date in terminal Sep 30, 2019
@divyenduz divyenduz added bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug. labels Oct 1, 2019
@divyenduz
Copy link
Contributor

I am able to reproduce this, this might be a usability issue and not a bug. Here is what I tried:

  1. Ran prisma2 dev of the demo script starter + sqlite3
  2. Pressed d to see the diff from last save
  3. ctrl + c to get out of prisma2 dev
  4. prisma2 lift save (even prisma2 lift up)
  5. Ran prisma2 dev again without any changes to the schema file, it still shows this message and the diff message with d is still the same - changes since last prisma2 lift save is incorrect.

@timsuchanek
Copy link
Contributor

Fixed in latest alpha by prisma/migrate@3f05def

@janpio
Copy link
Member

janpio commented Oct 16, 2019

I can confirm this works now.

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