Closed ShishKabab closed 5 years ago
Just published the first version of user-logic
for data-driven logic that can be used to define simple data model manipulations during migrations:
https://www.npmjs.com/package/user-logic
Work started here: https://github.com/WorldBrain/storex-schema-migrations
Basic implementation done, further development and issues on missing features should be done in the repo mentioned above.
Motivation: This is an annoying topic that we keep solving for every framework out there, while the basic operations can be quite simple and should be shareable across different frameworks, languages and database technologies out there.
Design considerations:
The idea: Provide packages for migration through an API and CLI interfaces. Example:
Steps:
value
above. doneEven if you only do one of these things, it'd already be big help :)