Skip to content

[Re-Introspection] Keep order of models of existing Prisma schema #1997

@janpio

Description

@janpio

When you introspect a database with an existing schema.prisma right now the full datamodel part is replaced. This is quite brutal, especially if I spent some time ordering my models, as all that is gone now.

We could try to keep the order of models in the datamodel. That would make it possible to look at a diff that is not so drastic.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions