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
|
|
|
|
~~~~~~~
|
|
|
|
|
|
|
|
::
|
|
|
|
|
2020-05-11 15:14:48 +03:00
|
|
|
--admin-secret string admin secret for Hasura GraphQL engine
|
|
|
|
--certificate-authority string path to a cert file for the certificate authority
|
|
|
|
--endpoint string http(s) endpoint for Hasura GraphQL engine
|
|
|
|
-h, --help help for migrate
|
|
|
|
--insecure-skip-tls-verify skip TLS verification and disable cert checking (default: false)
|
2018-09-11 14:11:24 +03:00
|
|
|
|
|
|
|
Options inherited from parent commands
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
::
|
|
|
|
|
2020-05-11 15:14:48 +03:00
|
|
|
--envfile string .env filename to load ENV vars from (default ".env")
|
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)
|
2020-02-24 19:19:14 +03:00
|
|
|
--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*
|