2020-01-14 15:57:45 +03:00
|
|
|
.. meta::
|
|
|
|
:description: Use hasura migrate to manage Hasura migrations on the database with the Hasura CLI
|
|
|
|
:keywords: hasura, docs, CLI, hasura migrate
|
|
|
|
|
2018-09-11 14:11:24 +03:00
|
|
|
.. _hasura_migrate:
|
|
|
|
|
|
|
|
Hasura CLI: hasura migrate
|
|
|
|
--------------------------
|
|
|
|
|
2019-09-11 10:17:14 +03:00
|
|
|
Manage migrations on the database.
|
2018-09-11 14:11:24 +03:00
|
|
|
|
|
|
|
Synopsis
|
|
|
|
~~~~~~~~
|
|
|
|
|
|
|
|
|
2019-09-11 10:17:14 +03:00
|
|
|
Manage migrations on the database.
|
2018-09-11 14:11:24 +03:00
|
|
|
|
|
|
|
Options
|
|
|
|
~~~~~~~
|
|
|
|
|
|
|
|
::
|
|
|
|
|
2018-12-07 15:08:39 +03:00
|
|
|
-h, --help help for migrate
|
2018-09-11 14:11:24 +03:00
|
|
|
|
|
|
|
Options inherited from parent commands
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
::
|
|
|
|
|
2019-03-20 08:10:06 +03:00
|
|
|
--log-level string log level (DEBUG, INFO, WARN, ERROR, FATAL) (default "INFO")
|
2019-12-02 13:57:17 +03:00
|
|
|
--no-color do not colorize output (default: false)
|
2019-03-20 08:10:06 +03:00
|
|
|
--project string directory where commands are executed (default: current dir)
|
|
|
|
--skip-update-check Skip automatic update check on command execution
|
2018-09-11 14:11:24 +03:00
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
~~~~~~~~
|
|
|
|
|
2019-09-11 10:17:14 +03:00
|
|
|
* :ref:`hasura <hasura>` - Hasura GraphQL engine command line tool
|
2018-09-11 14:11:24 +03:00
|
|
|
* :ref:`hasura migrate apply <hasura_migrate_apply>` - Apply migrations on the database
|
|
|
|
* :ref:`hasura migrate create <hasura_migrate_create>` - Create files required for a migration
|
2019-12-02 13:57:17 +03:00
|
|
|
* :ref:`hasura migrate squash <hasura_migrate_squash>` - (PREVIEW) Squash multiple migrations into a single one
|
2018-09-11 14:11:24 +03:00
|
|
|
* :ref:`hasura migrate status <hasura_migrate_status>` - Display current status of migrations on a database
|
|
|
|
|
|
|
|
*Auto generated by spf13/cobra*
|