mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 21:12:09 +03:00
40 lines
787 B
ReStructuredText
40 lines
787 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
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
::
|
|
|
|
--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*
|