forked from aptos-labs/aptos-indexer-processors
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from CapCap/max_emojicoin_dexscreener
Dexscreener Emojicoin Support
- Loading branch information
Showing
8 changed files
with
68 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...or/src/db/postgres/migrations/2024-12-03-050428_add_block_number_and_event_index/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-- This file should undo anything in `up.sql` | ||
|
||
DROP INDEX IF EXISTS se_block_num; | ||
ALTER TABLE swap_events | ||
DROP COLUMN block_number, | ||
DROP COLUMN event_index; | ||
|
||
DROP INDEX IF EXISTS le_block_num; | ||
ALTER TABLE liquidity_events | ||
DROP COLUMN block_number, | ||
DROP COLUMN event_index; |
10 changes: 10 additions & 0 deletions
10
...ssor/src/db/postgres/migrations/2024-12-03-050428_add_block_number_and_event_index/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-- Your SQL goes here | ||
ALTER TABLE swap_events | ||
ADD COLUMN block_number BIGINT NOT NULL, | ||
ADD COLUMN event_index BIGINT NOT NULL; | ||
CREATE INDEX se_block_num ON swap_events (block_number); | ||
|
||
ALTER TABLE liquidity_events | ||
ADD COLUMN block_number BIGINT NOT NULL, | ||
ADD COLUMN event_index BIGINT NOT NULL; | ||
CREATE INDEX le_block_num ON liquidity_events (block_number); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters