You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/schema.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,6 @@
1
-
Resolving dependencies...
2
-
Up to date
3
1
# Schema Documentation for cardano-db-sync
4
2
5
-
Schema version: 13.2.0.0 (from branch **kderme/optimizations** which may not accurately reflect the version number)
3
+
Schema version: 13.2.0.1
6
4
**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.
7
5
8
6
### `schema_version`
@@ -383,7 +381,7 @@ A table for metadata attached to a transaction.
383
381
384
382
### `reward`
385
383
386
-
A table for earned staking rewards. After 13.2 release it includes only 3 types of rewards: member, leader and refund, since the other 2 types have moved to a separate table instant_reward. The rewards are inserted incrementally and this procedure is finalised when the spendable epoch comes. Before the epoch comes, some entries may be missing.
384
+
A table for earned staking rewards. After 13.2 release it includes only 3 types of rewards: member, leader and refund, since the other 2 types have moved to a separate table instant_reward. The rewards are inserted incrementally and this procedure is finalised when the spendable epoch comes. Before the epoch comes, some entries may be missing. The `reward.id` field has been removed and it only appears on docs due to a bug.
387
385
388
386
* Primary Id: `id`
389
387
@@ -399,7 +397,7 @@ A table for earned staking rewards. After 13.2 release it includes only 3 types
399
397
400
398
### `instant_reward`
401
399
402
-
A table for earned instant rewards. It includes only 2 types of rewards: reserves and treasury. This table only exists for historic reasons, since instant rewards are depredated after Conway. New in 13.2
400
+
A table for earned instant rewards. It includes only 2 types of rewards: reserves and treasury. This table only exists for historic reasons, since instant rewards are depredated after Conway. The `reward.id` field has been removed and it only appears on docs due to a bug. New in 13.2
403
401
404
402
* Primary Id: `id`
405
403
@@ -442,13 +440,15 @@ A table containing the epoch stake distribution for each epoch. This is inserted
442
440
443
441
### `epoch_stake_progress`
444
442
443
+
A table which shows when the epoch_stake for an epoch is complete
444
+
445
445
* Primary Id: `id`
446
446
447
447
| Column name | Type | Description |
448
448
|-|-|-|
449
449
|`id`| integer (64) ||
450
-
|`epoch_no`| word31type ||
451
-
|`completed`| boolean ||
450
+
|`epoch_no`| word31type |The related epoch|
451
+
|`completed`| boolean |True if completed. If not completed the entry won't exist or more rarely be False.|
0 commit comments