From f7c96b098a82c87608fb70a8a6d3f29ebc7dc785 Mon Sep 17 00:00:00 2001 From: Tom Dykstra Date: Mon, 11 Mar 2019 15:11:06 -0700 Subject: [PATCH] fix formatting --- aspnetcore/includes/RP-mvc-shared/sqlite-warn.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/aspnetcore/includes/RP-mvc-shared/sqlite-warn.md b/aspnetcore/includes/RP-mvc-shared/sqlite-warn.md index 42aa739493..c11a19d1d8 100644 --- a/aspnetcore/includes/RP-mvc-shared/sqlite-warn.md +++ b/aspnetcore/includes/RP-mvc-shared/sqlite-warn.md @@ -1,15 +1,16 @@ > [!NOTE] > For this tutorial you use the Entity Framework Core *migrations* feature where possible. Migrations updates the database schema to match changes in the data model. However, migrations can only do the kinds of changes that the EF Core provider supports, and the SQLite provider's capabilities are limited. For example, adding a column is supported, but removing or changing a column is not supported. If a migration is created to remove or change a column, the `ef migrations add` command succeeds but the `ef database update` command fails. Due to these limitations, this tutorial doesn't use migrations for SQLite schema changes. Instead, when the schema changes, you drop and re-create the database. - -The workaround for the SQLite limitations is to manually write migrations code to perform a table rebuild when something in the table changes. A table rebuild involves: - +> +>The workaround for the SQLite limitations is to manually write migrations code to perform a table rebuild when something in the table changes. A table rebuild involves: +> >* Renaming the existing table. >* Creating a new table. >* Copying data from the old table to the new table. >* Dropping the old table. - -For more information, see the following resources: +> +>For more information, see the following resources: +> > * [SQLite EF Core Database Provider Limitations](/ef/core/providers/sqlite/limitations) > * [Customize migration code](/ef/core/managing-schemas/migrations/#customize-migration-code) > * [Data seeding](/ef/core/modeling/data-seeding) \ No newline at end of file