graphql-engine/cli/docs/hasura_migrate_apply.md
Shahidh K Muhammed 776c550654
[cli] add docs and build tools (#3)
Includes version command and makefile integration along with docs command
2018-06-28 11:10:18 +05:30

937 B

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

Auto generated by spf13/cobra on 28-Jun-2018