fix/partitioning-small-fix #21
No reviewers
Labels
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: on.nemtina/persistence#21
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/partitioning-small-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +22,4 @@
var context = serviceProvider.GetRequiredService<PersistenceDbContext>();
context.Database.EnsureCreated();
context.Database.AddPartitioning();
Мы договаривались делать это в PersistenceDbContext.OnModelCreating(..) и именно этот момент и проверяет текст.