@ -64,7 +64,7 @@ Open the `Books/Book.cs` in the `Acme.BookStore.Domain` project and add the foll
public Guid AuthorId { get; set; }
public Guid AuthorId { get; set; }
````
````
## Database Migration
## Database & Data Migration
Added a new, required `AuthorId` property to the `Book` entity. But, what about the existing books on the database? They currently don't have `AuthorId`s and this will be a problem when we try to run the application.
Added a new, required `AuthorId` property to the `Book` entity. But, what about the existing books on the database? They currently don't have `AuthorId`s and this will be a problem when we try to run the application.
@ -572,6 +572,10 @@ Book list page change is trivial. Open the `Pages/Books/Index.js` in the `Acme.B
...
...
````
````
When you run the application, you can see the *Author* column on the table:
You can run the application and try to create a new book or update an existing book. You will see a drop down list on the create/update form to select the author of the book: