Skip to content

Commit

Permalink
update doc EF migrations instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeM-2ISA committed Feb 8, 2023
1 parent 64e3065 commit f0b79a3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/dev-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,3 +331,11 @@ Follow the next steps to create EF migration:
```console
dotnet ef migrations add "<nameofyourmigration>" -p ..\AzureIoTHub.Portal.MySql\ -v -- --DbProvider MySQL
```

1. Open the created migration and follow the following steps:

1. Move the using directive into the namespace directive

1. Add "_ =" before each statement of the Up and Down methods

1. Add the CGI copyright to the top of the file

0 comments on commit f0b79a3

Please sign in to comment.