hasura migrate delete

Clear migrations from local project and server

Options

NameDescription
--allClears all migrations for selected database
--force
  • Dangerous 💥
--version <uint>Deletes the specified version in migrations
--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