graphql-engine/docs/graphql/manual/hasura-cli/hasura_migrate.rst

45 lines
1.3 KiB
ReStructuredText
Raw Normal View History

.. 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
--------------------------
2019-09-11 10:17:14 +03:00
Manage migrations on the database.
Synopsis
~~~~~~~~
2019-09-11 10:17:14 +03:00
Manage migrations on the database.
Options
~~~~~~~
::
2018-12-07 15:08:39 +03:00
-h, --help help for migrate
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--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)
--project string directory where commands are executed (default: current dir)
--skip-update-check Skip automatic update check on command execution
SEE ALSO
~~~~~~~~
2019-09-11 10:17:14 +03:00
* :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
2019-12-02 13:57:17 +03:00
* :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*