-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement liquidity addition indexing
- Loading branch information
Showing
26 changed files
with
1,331 additions
and
686 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
CREATE TABLE IF NOT EXISTS "registration" ( | ||
"address" text PRIMARY KEY NOT NULL, | ||
"revolut" text[] DEFAULT '{}'::text[] NOT NULL | ||
); | ||
--> statement-breakpoint | ||
DROP TABLE "indexer_locked";--> statement-breakpoint | ||
DROP TABLE "indexer_unlocked"; |
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,8 @@ | ||
CREATE TABLE IF NOT EXISTS "liquidity" ( | ||
"owner" text PRIMARY KEY NOT NULL, | ||
"offchain_id" text PRIMARY KEY NOT NULL, | ||
"locked" boolean, | ||
"amount" boolean | ||
); | ||
--> statement-breakpoint | ||
ALTER TABLE "registration" ALTER COLUMN "revolut" SET DEFAULT ARRAY[]::text[]; |
Oops, something went wrong.