Skip to content

Commit

Permalink
Bump api & indexer versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Redm4x committed Feb 13, 2024
1 parent df3c658 commit 18f2f0c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions api/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloudmos-api",
"version": "2.13.1",
"version": "2.14.0",
"description": "Api providing data to the deploy tool",
"author": "Cloudmos",
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions deploy-web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deploy-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloudmos-app",
"version": "1.14.3",
"version": "1.15.0",
"description": "Web UI to deploy on the Akash Network and view statistic about network usage.",
"author": "Cloudmos",
"private": true,
Expand Down
10 changes: 5 additions & 5 deletions indexer/UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Version 1.7.0 adds some tables and fields to improve provider queries as well as
```
-- Add new Provider columns
ALTER TABLE IF EXISTS public.provider
ADD COLUMN "lastSnapshotId" uuid,
ADD COLUMN "lastSnapshotId" uuid;
-- Set lastSnapshotId to the most recent snapshot for each providers
UPDATE "provider" p SET "lastSnapshotId" = (
Expand All @@ -33,7 +33,7 @@ WITH last_snapshots AS (
UPDATE "providerSnapshot" AS ps
SET "isLastOfDay" = TRUE
FROM last_snapshots AS ls
WHERE ls."psId"=ps.id
WHERE ls."psId"=ps.id;
-- Add index for isLastofDay
CREATE INDEX IF NOT EXISTS provider_snapshot_id_where_isonline_and_islastofday
Expand All @@ -60,7 +60,7 @@ CREATE TABLE IF NOT EXISTS public."providerSnapshotNode"
"gpuAllocatable" bigint,
"gpuAllocated" bigint,
CONSTRAINT "providerSnapshotNode_pkey" PRIMARY KEY (id)
)
);
CREATE TABLE IF NOT EXISTS public."providerSnapshotNodeCPU"
(
Expand All @@ -70,7 +70,7 @@ CREATE TABLE IF NOT EXISTS public."providerSnapshotNodeCPU"
model character varying(255) COLLATE pg_catalog."default",
vcores character varying(255) COLLATE pg_catalog."default",
CONSTRAINT "providerSnapshotNodeCPU_pkey" PRIMARY KEY (id)
)
);
CREATE TABLE IF NOT EXISTS public."providerSnapshotNodeGPU"
(
Expand All @@ -82,7 +82,7 @@ CREATE TABLE IF NOT EXISTS public."providerSnapshotNodeGPU"
interface character varying(255) COLLATE pg_catalog."default",
"memorySize" character varying(255) COLLATE pg_catalog."default",
CONSTRAINT "providerSnapshotNodeGPU_pkey" PRIMARY KEY (id)
)
);
```

## v1.5.0
Expand Down

0 comments on commit 18f2f0c

Please sign in to comment.