Skip to content

Commit

Permalink
Tweak wording on migrations warning
Browse files Browse the repository at this point in the history
Closes #2641
  • Loading branch information
roji committed Sep 14, 2020
1 parent c550261 commit 04d39cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,5 @@ Note that `Migrate()` builds on top of the `IMigrator` service, which can be use

> [!WARNING]
>
> * Carefully consider before using this approach in production. Experience has shown that the simplicity of this deployment strategy is outweighed by the issues it creates. Consider using SQL scripts instead.
> * Carefully consider before using this approach in production. Experience has shown that the simplicity of this deployment strategy is outweighed by the issues it creates. Consider generating SQL scripts from migrations instead.
> * Don't call `EnsureCreated()` before `Migrate()`. `EnsureCreated()` bypasses Migrations to create the schema, which causes `Migrate()` to fail.

0 comments on commit 04d39cd

Please sign in to comment.