hasura migrate

Manage migrations on the database

Subcommands

NameDescription
applyApply migrations on the database
createCreate files required for a migration
deleteClear migrations from local project and server
squashSquash multiple migrations into a single one
statusDisplay current status of migrations on a database

Options

NameDescription
--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-verifySkip TLS verification and disable cert checking
--envfile <string>.env filename to load ENV vars from
-h, --helpHelp for hasura
--log-level <string>Log level
--no-colorDo not colorize output
--project <string>Directory where commands are executed
--skip-update-checkSkip automatic update check on command execution