-
Notifications
You must be signed in to change notification settings - Fork 0
MongoDB migrations
Oleksandra korel Kalinina edited this page Sep 19, 2019
·
1 revision
All migrations placed in the migrations folder.
All migrations which were applied, placed in the "applied" folder and they don't run.
Before start migrations, create DB dump.
Run npm run build:server
in a command line.
Run NODE_ENV=[your node_env] MODE_ENV=[your mode_env] migrate up
for start migration