change entity framework core code first migration name format


April 2019


6 time


ef core using system calendar format for generating migration names.

example of standard migration name for the Gregorian calendar on windows:


But if the date format of Windows is something other than the Gregorian, like Persian calendar the ef core migration name generates something like :


in a team project, we cannot use both formats because it's changing the order of migrations.

is there any way to fix that issue without changing windows calendar format or manually rename the migration?

version: EF core 2.2

0 answers