mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-23 23:43:44 +03:00
39 lines
707 B
ReStructuredText
39 lines
707 B
ReStructuredText
.. _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*
|