Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

voxpelli/node-knex-migrator-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-knex-migrator-extension

DEPRECATED: Use umzeption instead, the successor to this module

An extension of the knex migrator. Initial version based on knex 0.7, still works on knex 0.12

Started out based on some PR:s to knex itself:

Then got the addition of child migrations and later also a command for fresh installs

True to its Knex roots it extends the knexfile.js:

{
  client: 'pg',
  connection: config.db,
  migrations: {
    dependencies: {
      'prefix-of-child': 'foo'
    },
    install: __dirname + '/install-schema',
    directory: __dirname + '/migrations',
  },
}

Two examples:

About

An extension of the knex migrator. Initial version based on knex 0.7, still works on knex 0.12

Topics

Resources

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published