Migration

The migration command allows to manage the migrations of your Query Server, if you are admin.

Migration file:

  • The migration file should be in the format of <version><name><type>.sql
  • The version should be in the format of YYYYMMDD
  • The name should be in the format of <name>_<description>
  • The type should be up or down

Usage:

query migration <DB_NAME> <PATH>