How to generate idempotent scripts from EF Core migrations
Is it possible to generate idempotent scripts from EF Core migrations? Automatically? Yes, it is! But first, let’s see what idempotency means. What is an idempotent script? A subroutine with side effects is idempotent if the system state remains the same after one or several calls, in other words, if the function from the…