2018-06-28 08:40:18 +03:00
|
|
|
## 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
|
2018-06-28 11:36:25 +03:00
|
|
|
--type string type of migration (up, down) to be used with version flag (default "up")
|
2018-06-28 08:40:18 +03:00
|
|
|
--up string apply all or N up migration steps
|
2018-06-28 11:36:25 +03:00
|
|
|
--version string migrate the database to a specific version
|
2018-06-28 08:40:18 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
### 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
|
|
|
|
|
2018-08-06 14:33:17 +03:00
|
|
|
###### Auto generated by spf13/cobra on 6-Aug-2018
|