Something like `hasura migrate create <name> --sql-file <sql-file> --metadata-from-server` This should also mark this migration as applied on the current endpoint.