From dafdd053ee431aa16b91f6a392f6ea60fe9809a9 Mon Sep 17 00:00:00 2001 From: oleg Date: Wed, 22 Jan 2020 19:15:23 +0300 Subject: [PATCH] add link to migration templates files to readme --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index facd0cd..9bf5fbf 100644 --- a/README.md +++ b/README.md @@ -20,10 +20,12 @@ callback. east mongo package also provides following migration templates: -* lib/migrationTemplates/promises.js - default migration template, uses -built-in `Promise` in `migrate`, `rollback` functions. -* lib/migrationTemplates/async.js - migration template that uses async -functions to describe `migrate`, `rollback` functions. +* [lib/migrationTemplates/promises.js](lib/migrationTemplates/promises.js) - +default migration template, uses built-in `Promise` in `migrate`, +`rollback` functions. +* [lib/migrationTemplates/async.js](lib/migrationTemplates/async.js) - +migration template that uses async functions to describe `migrate`, +`rollback` functions. Default migration template will be used if `template` is not set. To get path of another template `require.resolve` could be used, e.g. at `.eastrc`: