Skip to content

ME crash: foreign key references unknown table #5785

@NazarK0

Description

@NazarK0

Hi Prisma Team! Prisma Migrate just crashed.

Command

db push --preview-feature

Versions

Name Version
Platform debian-openssl-1.1.x
Node v14.5.0
Prisma CLI 2.16.1
Binary 8b74ad57aaf2cc6c155f382a18a8e3ba95aceb03

Error

Error: Error in migration engine.
Reason: [libs/sql-schema-describer/src/walkers.rs:364:18] foreign key references unknown table

Please create an issue with your `schema.prisma` at 
https://github.com/prisma/prisma/issues/new

Metadata

Metadata

Assignees

Labels

bug/0-unknownBug is new, does not have information for reproduction or reproduction could not be confirmed.kind/bugA reported bug.topic: prisma db pushCLI: prisma db push

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions