-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to create migration script #112
Comments
Hi. Could you please provide the |
I'm having the same problem, when I add a self-referencing relationship (a hierarchy of entities) I get the same exception:
The My entity looks similar to this: public class Entity{
public Guid Id {get; set;}
public Entity? ParentEntity {get; set;}
public ICollection<Entity> NestedEntities {get; set;}
} |
Hi,
I'm using Net8 with Laraue.EfCoreTriggers.SqlServer 8.1.2
if I create my code first migration script with
Add-Migration AddTrigger -OutputDir Migrations -verbose
the first time including triggers, everyting is working.But if I create my first migration script without triggers, add
after that und create a second step migration script I get the following error:
Did I do anything wrong? Isn't it possible to add triggers after already having other migration scripts?
The text was updated successfully, but these errors were encountered: