# sequelize-migrate-tools

> Write sequelize migrations faster

Latest version **0.1.0** (published 2019-11-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install sequelize-migrate-tools
pnpm add sequelize-migrate-tools
yarn add sequelize-migrate-tools
bun add sequelize-migrate-tools
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2019-11-18 |
| First published | 2019-03-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Arthur Karganyan |
| Maintainers | arthur.karganyan |
| Keywords | sequelize |

## Links

- npm: https://www.npmjs.com/package/sequelize-migrate-tools
- Repository: https://github.com/arthurkarganyan/sequelize-migrate-tools
- Homepage: https://github.com/arthurkarganyan/sequelize-migrate-tools#readme
- Issues: https://github.com/arthurkarganyan/sequelize-migrate-tools/issues
- npm.io page: https://npm.io/package/sequelize-migrate-tools

## Recent versions

- 0.1.0 (latest) — 2019-11-18
- 0.0.2 — 2019-03-11
- 0.0.1 — 2019-03-11

## README

# sequelize-migrate-tools
Write sequelize migrations faster

# Usage

`addColumnsMigration` handles adding and removing columns by returning both `up` and `down` keys.

```js
const { addColumnsMigration } = require('../helpers/addColumnsMigration')

const Sequelize = require("sequelize")

module.exports = addColumnsMigration('users', {
  address: {
    type: Sequelize.STRING(255),
    allowNull: false
  },
})
```

---
_Source: https://npm.io/package/sequelize-migrate-tools · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
