Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EF core ,Create Custom Default Constraint Name

I am using EF core 2.1 and want to create custom default Constraint Name.

Currently, its getting create Constraint "DF__StudentBa__Admit__1DB06A4F"

like image 799
user1453078 Avatar asked Jun 08 '18 13:06

user1453078


1 Answers

Changing the Default constraint name is not supported in EF Core yet. You can track this issue for future reference.

like image 62
vivek nuna Avatar answered Oct 19 '22 20:10

vivek nuna