Escape another < (#4113)

pull/4121/head
Bader Nasser Al-Hashmi 2017-08-26 21:05:59 +04:00 committed by Rick Anderson
parent 1ca23a41c1
commit def90564ef
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ dotnet ef migrations add MaxLengthOnNames
dotnet ef database update
```
The `migrations add` command warns that data loss may occur, because the change makes the maximum length shorter for two columns. Migrations creates a file named *<timeStamp>_MaxLengthOnNames.cs*. This file contains code in the `Up` method that will update the database to match the current data model. The `database update` command ran that code.
The `migrations add` command warns that data loss may occur, because the change makes the maximum length shorter for two columns. Migrations creates a file named *\<timeStamp>_MaxLengthOnNames.cs*. This file contains code in the `Up` method that will update the database to match the current data model. The `database update` command ran that code.
The timestamp prefixed to the migrations file name is used by Entity Framework to order the migrations. You can create multiple migrations before running the update-database command, and then all of the migrations are applied in the order in which they were created.