graphql-engine/docs/graphql/manual/hasura-cli/hasura_migrate.rst
2020-01-14 18:27:45 +05:30

45 lines
1.3 KiB
ReStructuredText

.. meta::
:description: Use hasura migrate to manage Hasura migrations on the database with the Hasura CLI
:keywords: hasura, docs, CLI, hasura migrate
.. _hasura_migrate:
Hasura CLI: hasura migrate
--------------------------
Manage migrations on the database.
Synopsis
~~~~~~~~
Manage migrations on the database.
Options
~~~~~~~
::
-h, --help help for migrate
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--log-level string log level (DEBUG, INFO, WARN, ERROR, FATAL) (default "INFO")
--no-color do not colorize output (default: false)
--project string directory where commands are executed (default: current dir)
--skip-update-check Skip automatic update check on command execution
SEE ALSO
~~~~~~~~
* :ref:`hasura <hasura>` - Hasura GraphQL engine command line tool
* :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
* :ref:`hasura migrate squash <hasura_migrate_squash>` - (PREVIEW) Squash multiple migrations into a single one
* :ref:`hasura migrate status <hasura_migrate_status>` - Display current status of migrations on a database
*Auto generated by spf13/cobra*