MovieAngularJSApp icon indicating copy to clipboard operation
MovieAngularJSApp copied to clipboard

Error :Part 5 Updating the Movies Database

Open petervn opened this issue 9 years ago • 0 comments

"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"); }

petervn avatar Apr 12 '15 05:04 petervn