Browse Source

refactor

pull/16041/head
Onur Pıçakcı 4 years ago
parent
commit
970c312105
  1. 4
      docs/en/Community-Articles/2023-03-20- IdentityUser-Relationships/Post.md
  2. BIN
      docs/en/Community-Articles/2023-03-20- IdentityUser-Relationships/images/run-dbmigrator.png

4
docs/en/Community-Articles/2023-03-20- IdentityUser-Relationships/Post.md

@ -188,6 +188,10 @@ public class IdentityRelationshipDataSeederContributor
```
- This code simply uses the `IRepository<Department, Guid>` (the default [repository](https://docs.abp.io/en/abp/latest/Repositories)) to insert two books to the database in case there weren't any books in it.
Run the `IdentityRelationship.DbMigrator` application to update the database:
![run-dbmigrator](images/run-dbmigrator.png)
Again, open the `IdentityRelationshipModuleExtensionConfigurator` class in the Domain.Shared project and add the following code:
```csharp

BIN
docs/en/Community-Articles/2023-03-20- IdentityUser-Relationships/images/run-dbmigrator.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Loading…
Cancel
Save