Skip to content

Commit

Permalink
mergingapr
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecot committed Oct 29, 2024
1 parent d372233 commit aa592f8
Show file tree
Hide file tree
Showing 31 changed files with 13,932 additions and 74 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ bun_create_migrations:
bun_build:
bun run build --verbose

bun_clean_cache:
bun pm cache rm

docker_build:
docker build --progress=plain -t bun-docker .

Expand Down
3 changes: 2 additions & 1 deletion dockercompose.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ JSINFO_READ_POSTGRESQL_URL=postgres://postgres:postgres@postgres-jsinfo:5432/jsi
RELAYS_READ_POSTGRESQL_URL=postgres://postgres:postgres@postgres-relays:5432/relays
JSINFO_QUERY_PORT=8081
JSINFO_QUERY_HOST=0.0.0.0
JSINFO_INDEXER_LAVA_RPC=https://public-rpc.lavanet.xyz/
JSINFO_INDEXER_LAVA_RPC=https://lava.tendermintrpc.lava.build:443
JSINFO_INDEXER_LAVA_REST_RPC_URL=https://lava.lava.build:443
JSINFO_INDEXER_START_BLOCK=917064
JSINFO_INDEXER_SAVE_CACHE=0
JSINFO_INDEXER_READ_CACHE=0
Expand Down
7 changes: 7 additions & 0 deletions drizzle/0034_pretty_steve_rogers.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CREATE TABLE IF NOT EXISTS "apr" (
"key" text PRIMARY KEY NOT NULL,
"value" real NOT NULL,
"timestamp" timestamp DEFAULT now() NOT NULL
);
--> statement-breakpoint
CREATE INDEX IF NOT EXISTS "aprIdx" ON "apr" ("key");
Loading

0 comments on commit aa592f8

Please sign in to comment.