Skip to content

Commit 500b1e0

Browse files
committed
Update schema doc
1 parent 9d37604 commit 500b1e0

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

doc/schema.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
1-
In order, the following will be built (use -v for more details):
2-
- cardano-db-13.1.1.3 (exe:gen-schema-docs) (file /home/kostas/programming/cardano-db-sync/dist-newstyle/build/x86_64-linux/ghc-8.10.7/cardano-db-13.1.1.3/cache/build changed)
3-
Preprocessing executable 'gen-schema-docs' for cardano-db-13.1.1.3..
4-
Building executable 'gen-schema-docs' for cardano-db-13.1.1.3..
5-
[2 of 2] Compiling Main ( app/gen-schema-docs.hs, /home/kostas/programming/cardano-db-sync/dist-newstyle/build/x86_64-linux/ghc-8.10.7/cardano-db-13.1.1.3/x/gen-schema-docs/build/gen-schema-docs/gen-schema-docs-tmp/Main.o ) [Cardano.Db.Schema changed]
6-
Linking /home/kostas/programming/cardano-db-sync/dist-newstyle/build/x86_64-linux/ghc-8.10.7/cardano-db-13.1.1.3/x/gen-schema-docs/build/gen-schema-docs/gen-schema-docs ...
71
# Schema Documentation for cardano-db-sync
82

9-
Schema version: 13.1.1.3 (from branch **kderme/update-deps-8.4-pre** which may not accurately reflect the version number)
10-
**Note:** This file is auto-generated from the documentation in cardano-db/src/Cardano/Db/Schema.hs by the command `cabal run -- gen-schema-docs doc/schema.md`. This document should only be updated during the release process and updated on the release branch.
11-
123
### `schema_version`
134

145
The version of the database schema. Schema versioning is split into three stages as detailed below. This table should only ever have a single row.
@@ -796,8 +787,8 @@ A table for every committee hot key registration. New in 13.2-Conway.
796787
| `id` | integer (64) | |
797788
| `tx_id` | integer (64) | The Tx table index of the tx that includes this certificate. |
798789
| `cert_index` | integer (32) | The index of this registration within the certificates of this transaction. |
799-
| `cold_key` | addr29type | The registered cold hey hash. TODO: should this reference DrepHashId or some separate hash table? |
800-
| `hot_key` | addr29type | The registered hot hey hash |
790+
| `cold_key` | bytea | The registered cold hey hash. TODO: should this reference DrepHashId or some separate hash table? |
791+
| `hot_key` | bytea | The registered hot hey hash |
801792

802793
### `committee_de_registration`
803794

@@ -810,7 +801,8 @@ A table for every committee key de-registration. New in 13.2-Conway.
810801
| `id` | integer (64) | |
811802
| `tx_id` | integer (64) | The Tx table index of the tx that includes this certificate. |
812803
| `cert_index` | integer (32) | The index of this deregistration within the certificates of this transaction. |
813-
| `hot_key` | addr29type | The deregistered hot key hash |
804+
| `hot_key` | bytea | The deregistered hot key hash |
805+
| `voting_anchor_id` | integer (64) | The Voting anchor reference id |
814806

815807
### `drep_registration`
816808

@@ -903,7 +895,7 @@ A table for voting procedures, aka GovVote. A Vote can be Yes No or Abstain. New
903895
| `index` | integer (32) | The index of this VotingProcedure within this transaction. |
904896
| `governance_action_id` | integer (64) | The index of the GovernanceAction that this vote targets. |
905897
| `voter_role` | voterrole | The role of the voter. Can be one of ConstitutionalCommittee, DRep, SPO. |
906-
| `comittee_voter` | blob | |
898+
| `committee_voter` | blob | |
907899
| `drep_voter` | integer (64) | |
908900
| `pool_voter` | integer (64) | |
909901
| `vote` | vote | The Vote. Can be one of Yes, No, Abstain. |

0 commit comments

Comments
 (0)