Skip to content
Discussion options

You must be logged in to vote
  • Is that known and expected?

No, I don't think we have a bug report issue for this.

Can you open one, optimally, with a reproduction repository that we can use to try this out?

  • Are there workarounds for the Migration? I'd rather avoid updating my schema to use onDelete: Restrict everywhere because then I deleting those entries (explicitely in my code) becomes more complex

From a quick look the problem seems to be the combination of the referential action and the generated migration SQL. Maybe the migration could disable the referential actions? Or we could temporarily change it for the migration? Something along those lines probably.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@hrueger
Comment options

@hrueger
Comment options

@janpio
Comment options

@hrueger
Comment options

Answer selected by hrueger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants