Skip to content

Commit

Permalink
chore: updated view creation for db-sync 13.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Kammerlo committed Jul 14, 2024
1 parent 29d2c80 commit 1ceaa56
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ select_permissions:
- role: cardano-graphql
permission:
columns:
- deposits
- deposits_stake
- deposits_drep
- deposits_proposal
- fees
- reserves
- rewards
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
-- noinspection SqlNoDataSourceInspectionForFile

-- noinspection SqlDialectInspectionForFile

CREATE OR REPLACE VIEW "AdaPots" AS
SELECT
epoch_no AS "epochNo",
deposits,
deposits_stake,
deposits_drep,
deposits_proposal
fees,
reserves,
rewards,
Expand Down
4 changes: 3 additions & 1 deletion packages/api-cardano-db-hasura/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,9 @@ type Ada {
}

type AdaPots {
deposits: Lovelace!
deposits_stake: Lovelace!
deposits_drep: Lovelace!
deposits_proposal: Lovelace!
fees: Lovelace!
reserves: Lovelace!
rewards: Lovelace!
Expand Down

0 comments on commit 1ceaa56

Please sign in to comment.