|
|
|
|
|
by hermanradtke
1147 days ago
|
|
> you want a declarative source of truth for what the schema looks like today, not a chain of changes that only tell you that after computing the combined effect Applying a series of migrations to get a final db schema is not much different than a version control system like git. |
|
If you like, you can view my comment above as saying 'if they included that tooling, not just the similar tree of changes stored, it would be better'.
How to get from one state to the next is interesting to the computer, not to me (not after I've initially written it/done it in prod anyway), I'm interested in the result, where do we stand after all of the migrations (currently on disk having checked out whatever).