2018-09-11 14:11:24 +03:00
|
|
|
.. _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
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
::
|
|
|
|
|
2019-02-05 15:51:21 +03:00
|
|
|
--log-level string log level (DEBUG, INFO, WARN, ERROR, FATAL) (default "INFO")
|
|
|
|
--project string directory where commands are executed. (default: current dir)
|
2018-09-11 14:11:24 +03:00
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
~~~~~~~~
|
|
|
|
|
|
|
|
* :ref:`hasura migrate <hasura_migrate>` - Manage migrations on the database
|
|
|
|
|
|
|
|
*Auto generated by spf13/cobra*
|