blakeembrey / blakeembrey/node-immigration

Add documentation on how to use in various systems

Open
#6 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
18
Forks
3
PR merge metrics
No merged PRs in 30d

Description

For example, combining with Heroku and https://devcenter.heroku.com/articles/preboot. This is more important once I merge database plugin support with locking and data/schema migration separation.

Basically, you can use `preboot`-like behaviour to achieve zero downtime through:
- Run schema migrations during reboot of an application (no `preboot`)
- When there's no schema migrations, you should enable `preboot`
- Run data migrations as a separated script (maybe two new fields in migrations scripts like `dataUp` and `dataDown`, `poststart` and `postdown`, etc - open to suggestions)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.