From d5d53ea313dc71c1515024ab702ca91aab4aeeec Mon Sep 17 00:00:00 2001 From: James Bayly Date: Tue, 14 May 2024 15:17:33 +0800 Subject: [PATCH] Add local graph migration --- docs/indexer/build/graph-migration.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/indexer/build/graph-migration.md b/docs/indexer/build/graph-migration.md index 71e3f3d9ce8..7c722cacf61 100644 --- a/docs/indexer/build/graph-migration.md +++ b/docs/indexer/build/graph-migration.md @@ -52,7 +52,11 @@ An example of using this tool for the Graph Gravatar project is as follows - `-o` is the output directory ```sh +# Github subql migrate -f https://github.com/graphprotocol/graph-tooling/tree/main -d examples/ethereum-gravatar -o ~/subquery/gravatar-starter + +# Local file +subql migrate -f ~/path/to/subgraph -o ~/path/to/output ``` Once this is done, follow along and complete the remaining steps: