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

node-pg-migrate

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-pg-migrate - npm Package Versions

dolezel
published 2.7.0 •

Changelog

Source

2.7.0

Added

  • Function operations #103
dolezel
published 2.6.0 •

Changelog

Source

2.6.0

Added

  • Support for pg >=4.3.0 <8.0.0
  • Interpret only files as migrations in migration directory #101
dolezel
published 2.5.0 •

Changelog

Source

2.5.0

Added

  • USING clause in alter column #99
  • Role operations #100
dolezel
published 2.4.0 •

Changelog

Source

2.4.0

Changed

  • Do not check file extension of migration file #93
dolezel
published 2.3.0 •

Changelog

Source

2.3.0

Added

  • JSON config and type shorthands see #91
dolezel
published 2.2.1 •

Changelog

Source

2.2.1

Fixed

  • Syntax error in node 4
dolezel
published 2.2.0 •

Changelog

Source

2.2.0

Added

  • Better error logging #86
  • Locking migrations #88
  • Updated docs #89
dolezel
published 2.1.1 •

Changelog

Source

2.1.1

Fixed

  • Down migration when down method is inferred #84
dolezel
published 2.1.0 •

Changelog

Source

2.1.0

Added

  • Enable string functions and arrays as default column values #82
dolezel
published 2.0.0 •

Changelog

Source

2.0.0

Rewritten using es6 (transpiled via babel) and Promises.

Breaking Changes

  • supports only node >= 4
  • check-order flag now defaults to true (to switch it off supply --no-check-order on command line)
  • dotenv package is optionalDependency
  • s option is now alias for schema which sets schema for migrations SQL, if you only need to change schema of migrations table use --migrations-schema

Added

  • config package as optionalDependency
  • Migration can return Promise