-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Track more info about position vesting/divesting
- Loading branch information
Showing
7 changed files
with
116 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
-- migrate:up | ||
|
||
CREATE TABLE events_leo_positionvested ( | ||
id SERIAL PRIMARY KEY, | ||
created_by TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP, | ||
block_hash HASH NOT NULL, | ||
transaction_hash HASH NOT NULL, | ||
block_number INTEGER NOT NULL, | ||
emitter_addr ADDRESS NOT NULL, | ||
|
||
position_id HUGEINT NOT NULL, | ||
); | ||
|
||
CREATE TABLE events_leo_positiondivested ( | ||
id SERIAL PRIMARY KEY, | ||
created_by TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP, | ||
block_hash HASH NOT NULL, | ||
transaction_hash HASH NOT NULL, | ||
block_number INTEGER NOT NULL, | ||
emitter_addr ADDRESS NOT NULL, | ||
|
||
position_id HUGEINT NOT NULL, | ||
); | ||
|
||
-- migrate:down |
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
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