Skip to content

Commit

Permalink
Add missing line about start_block parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienGllmt committed Dec 12, 2023
1 parent 8378f15 commit be05202
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/docs/indexer/migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ Reminder: you can add the `-v` parameter to see the SQL queries run by these com
Keep in mind that for successful migration you need to run `set -a; . ./.env; set +a` from root folder of repo to set appropriate env variables (migration relies on them, on `DATABASE_URL` in particular).

2. Create a new execution plan using `readonly = true` versions of tasks. Tasks that support this option will read existing data from storage instead of writing to the database, so you can chain multiple readonly tasks to build up towards that new task you are adding that will write the data you need to the database.
3. Set the `start_block` parameter in your configuration file to the block you want to start synchronizing from (see [here](./run.md))

0 comments on commit be05202

Please sign in to comment.