Code-First Approach in ASP.NET MVCApply Code-First Migration using following commands: enable-migrations, add-migration(Give Migration file name), update-database -script (optional), update-database.