Hi, I’ve just run `prisma import` pulling our prod...
# orm-help
j
Hi, I’ve just run
prisma import
pulling our prod db into local for some testing, however, its not imported any of the
relations
. I’ve opened the zip from the export and I can see that all of our relations are in
relations/000001.json
. Has anyone else had this issue or know what might be happening? When I look at one of the relation tables in Sequel Pro (
_ClassToFile
) there are no rows, however, in the JSON file there are 95
_ClassToFile
relations. Prod is running
Prisma 1.15.x
and my local is running
Prisma 1.23.4
After running
prisma reset <env>
and
prisma import <env>
again it works perfectly. When I previously tried to import the data there was an issue as my email was used on prod and local, it must of just killed the import after that and not added the relations.