hasura migrate
Manage migrations on the database
Subcommands
Name | Description |
---|
apply | Apply migrations on the database |
create | Create files required for a migration |
delete | Clear migrations from local project and server |
squash | Squash multiple migrations into a single one |
status | Display current status of migrations on a database |
Options
Name | Description |
---|
--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 |