- Update
async
package from v2 to v3 to resolve security vulnerabilities (5) - Drop support for node < 6 (due to
async
package update)
- Add
renameTable
(4)
- Add MySQL & PostgreSQL
defaultExpression
to allow setting default values via DB functions (3)
- Add PostgreSQL UUID support
- Update packages to resolve security vulnerabilities
- Allow specifying custom file extensions (#1) eg
extensions: ['ts']
- Update packages to resolve security vulnerabilities
- Someone deleted this repo... it's back.
- Fix security vulnerability (y18n)
- Use Github Actions for CI
- If using NodeJS v14+ & Postgres, you must use
pg
>= 8.1.
- Fix security vulnerabilities
- Fix security vulnerabilities
- Allow to add foreign keys with custon constraint name and on delete action
- Update packages to fix security vulnerabilities
- Remove
git
reference tosql-ddl-sync
- use npm version instead (#35)
- Update packages to clear security warnings (#34)
- Make below changes work with mysql (#33)
-
Support all existing migrations when switching from coffee to js and vice versa ( using migration file name without extension for checking if migration is applied and on deleting migration record from orm_migrations table )
Example: project with already executed migration
001-migration.coffee
> SELECT * from orm_migrations; | migration | |--------------------------------------------------------| | 001-migration.coffe |
After conversion
001-migration.coffee
to001-migration.js
node-migrate-orm2 will identify converted file as executed and will not re-run this migration again.
- Add Promises support to migration methods
- Add Promiess support to
Task
methods(generate
,up
,down
).
- Correctly load
sql-ddl-sync
dialect - fixes for npm 5
- Migrate to new
orm_migrations
table format - Add
Task.ensureMigrationsTable
to allow a manual migration to v2 - Fix rollback issues
down
default behaviour is to rollback the last migration ( use to rollback every migrations )
- Add custom types support
- Add missing 'var' declarations (#18)
- Fix sqlite create table duplicate primary key (#13, #14)
- Update examples
- Fix Dialect.getType call (#14)
- Deprecate
.primary
in favour of.key