hasura migrate apply
Apply migrations on the database
Options
Name | Description |
---|---|
--up [string] | Apply all or N up migration steps |
--down [string] | Apply all or N up migration steps |
goto <string> | Apply migration chain up to to the version specified |
--version <string> | Only apply this particular migration |
--skip-execution | Skip executing the migration action, but mark them as applied |
--type <string> | Type of migration to be used with version flag |
--dry-run | Print the names of migrations which are going to be applied |
--all-databases | Set this flag to attempt to apply migrations on all databases present on server |
--admin-secret <string> | Admin secret for Hasura GraphQL engine |
--certificate-authority <string> | Path to a cert file for the certificate authority |
--endpoint <string> | Http(s) endpoint for Hasura GraphQL engine (env `HASURA_GRAPHQL_ENDPOINT`) |
--insecure-skip-tls-verify | Skip TLS verification and disable cert checking |
--envfile <string> | .env filename to load ENV vars from |
-h, --help | Help for hasura |
--log-level <string> | Log level |
--no-color | Do not colorize output |
--project <string> | Directory where commands are executed |
--skip-update-check | Skip automatic update check on command execution |