{"tool":"dotnet","tool_display":"Dotnet","intent":"add-new-migration","intent_display":"add new migration","title":"Dotnet Command: add new migration","command_string":"dotnet ef migrations add <name>","raw_command_string":"dotnet ef migrations add {{name}}","description":"Exact CLI syntax to add new migration using Dotnet.","usage_scenario":"When database schema changes necessitate a migration process for version control.","scenario_context":"Always name migrations descriptively for better tracking and understanding.","simulated_output":"$ dotnet ef migrations add InitialCreate\n\nApplying migration '20231005123456_InitialCreate'.\nDone.\n\nList of migrations:\n| Migration ID                     | Product Version |\n| -------------------------------- | ---------------- |\n| 20231005123456_InitialCreate     | 5.0.0           |","how_to_steps":["Open terminal in your project directory.","Run the command: `dotnet ef migrations add InitialCreate`.","Check the migrations with `dotnet ef migrations list`."],"inferred_category":"Programming","canonical_url":"https://www.syntaxstandard.com/dotnet/add-new-migration"}