Comparing version 1.0.0 to 1.0.1
(The MIT License) | ||
Copyright (c) 2013-2014 Oleg Korobenko <oleg.korobenko@gmail.com> | ||
Copyright (c) 2013-2019 Oleg Korobenko <oleg.korobenko@gmail.com> | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining |
{ | ||
"name": "east", | ||
"description": "node.js database migration tool for mongodb, sqlite, postgres, mysql, couchbase", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "Oleg Korobenko <oleg.korobenko@gmail.com>", | ||
@@ -44,3 +44,3 @@ "license": "MIT", | ||
"mocha": "2.3.3", | ||
"eslint": "4.14.0", | ||
"eslint": "4.18.2", | ||
"eslint-config-airbnb-base": "12.1.0", | ||
@@ -47,0 +47,0 @@ "eslint-plugin-import": "2.8.0", |
@@ -121,9 +121,10 @@ # east | ||
`client` is connect to current db and he determined by adapter (see [adapters](#adapters) section) | ||
`done` is function which should be called at the end of migration (if any | ||
* `client` is connect to current db and he determined by adapter (see [adapters](#adapters) section) | ||
* `done` is function which should be called at the end of migration (if any | ||
error occured you can pass it as first argument) | ||
migration also can be synchronous - declare only `client` at `migrate` or `rollback` | ||
`rollback` function is optional and may be omitted | ||
* instead of using `done` argument promise can be returned or async function can be used | ||
* migration also can be synchronous - declare only `client` at `migrate` or `rollback` | ||
* `rollback` function is optional and may be omitted | ||
Migration file is normal node.js module and you can migrate any database e.g. | ||
Migration file is regular node.js module and allows migrate any database e.g. | ||
@@ -130,0 +131,0 @@ ```js |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44617
297