MovieAngularJSApp
MovieAngularJSApp copied to clipboard
Error :Part 5 Updating the Movies Database
"Because I made changes to the Movie model, I need to update the database to match the new model. I opened up a Command Prompt, navigated to the project folder and ran the following two commands: 1 2 k ef migration add movieProps k ef migration apply" it is not easy as something you say. i resolve this problem by :rename database protected override void OnConfiguring(DbContextOptions options) { options.UseSqlServer("Server = (localdb)\mssqllocaldb; Database = Movies1Database; Trusted_Connection = True; MultipleActiveResultSets = true"); }