Skip to content

Commit

Permalink
implement liquidity addition indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
0xChqrles committed Oct 1, 2024
1 parent 6d03f66 commit 0a04d7e
Show file tree
Hide file tree
Showing 26 changed files with 1,331 additions and 686 deletions.
1 change: 0 additions & 1 deletion .gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

7 changes: 7 additions & 0 deletions backend/drizzle/0002_fixed_whirlwind.sql
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";
8 changes: 8 additions & 0 deletions backend/drizzle/0003_silent_namor.sql
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[];
Loading

0 comments on commit 0a04d7e

Please sign in to comment.