-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from fly-apps/db-avoid-type-update
Avoid type update in modify/3
- Loading branch information
Showing
2 changed files
with
31 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# 2023-10-10 | ||
|
||
- Update the instructions for setting a columns' non-null constraint. | ||
Avoid using `modify/3` since that will include adjusting the type | ||
unnecessarily, which will cause Postgres to rewrite the table. | ||
Thanks @dhedlund for the report! | ||
|
||
# 2023-05-10 | ||
|
||
- Add note about setting `migration_lock: false` on CheckRepoStatus when | ||
the Repo is using advisory locks for migrations. Thanks @cgrothaus for the | ||
report! | ||
|
||
# 2022-10-06 | ||
|
||
- Ecto 3.9.0 supports advisory locks for migrations, which is a great way to | ||
manage migrations when you need to create indexes concurrently. Add a note about | ||
using that migration locking strategy. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters