Trying the 1.31 upgrade guide, and the `introspect...
# orm-help
r
Trying the 1.31 upgrade guide, and the
introspect
command doesn't match what happens in the guide (and video) - I get this instead:
Copy code
❯ prisma introspect
? What kind of database do you want to introspect? (Use arrow keys)
❯ MySQL             MySQL compliant databases like MySQL or MariaDB
j
Are you running on a Prisma demo server?
s
@Jonathan I am (having this same issue). Can you not run
prisma introspect
with the demo server?
j
i fussed with it for an hour last night before just doing the datamodel migration manually
it was helpful to do it manually, actually, as it’ll throw errors for everything that needs to change
i couldn’t find a way to point introspect at the demo server
👍 1
r
No, this was locally.
j
@rem postgres or mysql?
r
@Jonathan postgres in a docker (as per the "typical" local dev setup)
j
@rem and you’re only seeing the mysql option?
r
no, I'm being presented with options - whereas the walkthrough video doesn't present with options. That and I've got a working prisma config working, so I don't know why its asking me again
j
the walkthrough video is using alpha, and i think the mysql option was added later
r
The walkthrough video doesn't show any options and "just works"
I'm being asked for a whole bunch of options - I had assumed that a "correct" config is being read during the introspect stage and thus not asking in the video for config details
j
i got started on migrating right away after the announcement a couple of days ago, and was always required to point introspect at a database…it never just worked. i didn’t watch the video initially, just followed the docs which explain that you must provide connection details.
given my experience with prisma updates/communication/documentation, i don’t find it surprising that their video tutorial isn’t 1:1