Skip to content

Commit

Permalink
clear subscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKurt committed Oct 15, 2024
1 parent e34e78d commit 9c429a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cloneSchemaAndCleanChain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ BEGIN
-- Delete from projects
DELETE FROM $TARGET_SCHEMA.projects WHERE chain_id = $CHAIN_ID;
-- Update subscriptions
UPDATE $TARGET_SCHEMA.subscriptions SET indexed_to_block = 0::bigint WHERE chain_id = $CHAIN_ID;
END
\$\$;
EOF
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type CoingeckoSupportedChainId =
| 42220
| 1088;

const CHAIN_DATA_VERSION = "86";
const CHAIN_DATA_VERSION = "91";
const IPFS_DATA_VERSION = "1";
const PRICE_DATA_VERSION = "1";

Expand Down

0 comments on commit 9c429a2

Please sign in to comment.