Add VS Code quick fix / code action to phase out referentialIntegrity
in favor of relationMode
#1276
Labels
kind/improvement
An improvement to existing feature and code.
team/schema
Issue for team Schema.
topic: code action
topic: referentialIntegrity/relationMode
Milestone
Considering the recent backward-compatible renaming of the
referentialIntegrity = "prisma"|"foreignKeys"
attribute torelationMode = "prisma"|"foreignKeys"
and subsequent deprecation of thereferentialIntegrity
attribute, we should provide a VSCode quick action that:referentialIntegrity
in favor ofrelationMode
if both attributes existreferentialIntegrity
intorelationMode
if only thereferentialIntegrity
attribute existsNote that the name of the preview feature,
referentialIntegrity
, should be left unchanged.The text was updated successfully, but these errors were encountered: