Hello everyone! I've used prisma init on an existi...
# orm-help
a
Hello everyone! I've used prisma init on an existing mysql database with existing data - selected these in the wizard - and during introspection I get the message: *"Cannot read property 'type' of undefined". * Prisma version: 1.32.2 Thanks!
x
How about creating your model in datamodel.graphql and migrate data?
a
Hi @xEmil, If I will do that, my existing data will be altered and I don't want that.
d
Can you see the output of the same command with
export DEBUG=*
in environment please?
a
Hi @divyendu I will try it now.
@divyendu This is what I received. Thanks!
d
Looks like something related to your specific schema! You will have to create an issue here with minimal reproduction: https://github.com/prisma/prisma/issues/new?template=bug_report.md And obfuscate the structure/data that you don't want to share publicly! That would help us debug this further!
a
Thank you. I will try to put here the schema's structure as soon as I can.
👍 1
Hi @divyendu, I come back with the schema's structure:
d
Please create a GH issue with a minimal reproduction!
a
Ok, I 'll put the link here. Thanks!
https://github.com/prisma/prisma/issues/4551 @divyendu I created the issue. Thank you!
👍 1