agentm / agentm/project-m36

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

Offen
#96 0 Kommentare 5 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Haskell
Sterne
952
Forks
50
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.