mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
44 lines
1.0 KiB
ReStructuredText
44 lines
1.0 KiB
ReStructuredText
.. _hasura_migrate_apply:
|
|
|
|
Hasura CLI: hasura migrate apply
|
|
--------------------------------
|
|
|
|
Apply migrations on the database
|
|
|
|
Synopsis
|
|
~~~~~~~~
|
|
|
|
|
|
Apply migrations on the database
|
|
|
|
::
|
|
|
|
hasura migrate apply [flags]
|
|
|
|
Options
|
|
~~~~~~~
|
|
|
|
::
|
|
|
|
--down string apply all or N down migration steps
|
|
-h, --help help for apply
|
|
--type string migrate the database to a specific version specified by the timestamp
|
|
--up string apply all or N up migration steps
|
|
--version string migrate the database to a specific version specified by the timestamp
|
|
|
|
Options inherited from parent commands
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
::
|
|
|
|
--access-key string access key for Hasura GraphQL Engine
|
|
--endpoint string http(s) endpoint for Hasura GraphQL Engine
|
|
--project string hasura project directory where the commands should be executed. (default: current directory)
|
|
|
|
SEE ALSO
|
|
~~~~~~~~
|
|
|
|
* :ref:`hasura migrate <hasura_migrate>` - Manage migrations on the database
|
|
|
|
*Auto generated by spf13/cobra*
|