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

Migration guide missing from Getting Started #1476

Closed
deadcoder0904 opened this issue Jan 30, 2020 · 4 comments
Closed

Migration guide missing from Getting Started #1476

deadcoder0904 opened this issue Jan 30, 2020 · 4 comments
Assignees
Milestone

Comments

@deadcoder0904
Copy link
Contributor

So I created a brand new project & faced 1 issue:

Invalid prisma.() invocation in

I faced this issue earlier too so I knew the solution was to do:

➜ prisma2 migrate save --name "Init" --experimental
➜ prisma2 migrate up --experimental

But it isn’t mentioned in the Getting Started guide.

I don’t think someone who is starting just now will know this so mention it plz ;)

@deadcoder0904

This comment has been minimized.

@deadcoder0904

This comment has been minimized.

@pantharshit00
Copy link
Contributor

I faced this issue earlier too so I knew the solution was to do:

The new guide assumes that you are using introspection and have the database created already. But I agree we can add a note in there about this.

I get the following message twice:

This is a known bug that we need to fix. Refer prisma/migrate#316. A workaround here to prevent this, for now, is to use file protocol instead of sqlite

Also, the output while doing save and up has some lift left out like:
Please follow this issue: prisma/migrate#333

I have folded some of your comments so that we can quickly go through this ticket in the future.

@janpio janpio added this to the Preview 22 milestone Jan 31, 2020
@timsuchanek timsuchanek removed their assignment Feb 5, 2020
@nikolasburk
Copy link
Member

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

6 participants