mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 12:31:52 +03:00
776c550654
Includes version command and makefile integration along with docs command
36 lines
937 B
Markdown
36 lines
937 B
Markdown
## 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
|
|
--log-level string log level (DEBUG, INFO, WARN, ERROR, FATAL) (default "INFO")
|
|
```
|
|
|
|
### SEE ALSO
|
|
|
|
* [hasura migrate](hasura_migrate.md) - Manage migrations on the database
|
|
|
|
###### Auto generated by spf13/cobra on 28-Jun-2018
|