Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

east

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

east - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

LICENSE.txt
(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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc