![]() ![]() To reverse a migration, you pass the name of a target migration to the update command. It is used to store the name of this and each subsequent migration as they are applied to the database. If this is the first migration, a table will be added to the database called _EFMigrationsHistory. Unless otherwise specified, all pending migrations will be applied. The following command results in the Up method of the migration class being executed with any changes applied to the database:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |