AspNetCore.Docs icon indicating copy to clipboard operation
AspNetCore.Docs copied to clipboard

Add warning regarding SQLite and migrations

Open robertmarriott opened this issue 7 years ago • 1 comments

Hi,

Could you please add a note to the "Add a model to a Razor Pages app in ASP.NET Core" page to inform users the migration used at the end of the tutorial to add a rating to the Movie table won't work with SQLite and that they should probably add the Rating field to the initial model here (or use a different RDBMS).

Thanks


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

robertmarriott avatar Feb 02 '19 02:02 robertmarriott

That's the wrong approach. App development involves adding new fields. We're addressing SQLite migrations when they're required.

Rick-Anderson avatar Jul 18 '19 22:07 Rick-Anderson