Escape another < (#4113)
parent
1ca23a41c1
commit
def90564ef
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue