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

39 lines
707 B
ReStructuredText
Raw Normal View History

.. _hasura_migrate_create:
Hasura CLI: hasura migrate create
---------------------------------
Create files required for a migration
Synopsis
~~~~~~~~
Create sql and yaml files required for a migration
::
hasura migrate create [migration-name] [flags]
Options
~~~~~~~
::
-h, --help help for create
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--log-level string log level (DEBUG, INFO, WARN, ERROR, FATAL) (default "INFO")
--project string directory where commands are executed. (default: current dir)
SEE ALSO
~~~~~~~~
* :ref:`hasura migrate <hasura_migrate>` - Manage migrations on the database
*Auto generated by spf13/cobra*