hasura squashmigrations code example
Example: hasura squashmigrations
# NOTE: This command is in PREVIEW. Correctness is not guaranteed and the usage may change.
# squash all migrations from version 123 to the latest one:
hasura migrate squash --from 123
# Add a name for the new squashed migration
hasura migrate squash --name "<name>" --from 123