agentm / agentm/project-m36

write blog post on how schema migrations are smoother with Project:M36

未關閉
#96 0 則留言 5 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Haskell
星號
952
分支
50
PR 合併指標
30 天內沒有已合併 PR

描述

After some discussion with @3noch, here are some improvements Project:M36's design brings to the table regarding schema migrations:

* branching allows painless migration testing even on a production server
* migrations can be reverted (often not possible with many types of SQL migrations)
* lock-free schema updates
* no null handling or column default changes
* greater room-for-error allows for greater confidence in results

In the future, it would be beneficial to implement built-in schema diffs and versioning. For example, there should be a client-side function which allows one to validate that expectation that the schema matches the client's expected schema.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。