2.0.1 • Published 8 years ago

mason.plugin.knex v2.0.1

Weekly downloads
7
License
MIT
Repository
github
Last release
8 years ago

mason-plugin-knex

Mason CLI support for managing Knex installations

Commands

  • migrate:up
    • Runs all pending migrations
  • migrate:down
    • Rolls back most recent migrations
  • migrate:reset

    • Truncates or deletes all data, or optionally drops all tables
    • Options:

      • --exclude=table_a,table_b

        Provide a list of tables to exclude from the reset

      • --delete

        Delete table contents instead of truncating

      • --drop

        Drop tables instead of deleting or truncating

2.0.1

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago