This repository was archived by the owner on Jan 7, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Add daily_miner_deals_checked table to collect aggregated deal information #624
Merged
bajtos
merged 10 commits into
main
from
copilot/fix-f8d4ec4c-9004-447b-860f-8c1307cb1ced
Sep 1, 2025
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
9e9a9fe
Initial plan
Copilot de9e40f
Implement daily_miner_deals_checked table and functionality
Copilot 5fb661d
Fix linting issues in public-stats.js
Copilot d032661
Use unnest approach instead of jsonb_to_recordset in updateDailyMiner…
Copilot 7c71e98
Fix type error in updateDailyMinerDealsChecked function
Copilot 040177a
Fix updateDailyMinerDealsChecked to use single query with unnest appr…
Copilot 4ae7c17
Revert "Fix updateDailyMinerDealsChecked to use single query with unn…
bajtos b4d0c94
Revert "Fix type error in updateDailyMinerDealsChecked function"
bajtos 33f7221
Revert "Use unnest approach instead of jsonb_to_recordset in updateDa…
bajtos 125361f
Merge branch 'main' into copilot/fix-f8d4ec4c-9004-447b-860f-8c1307cb…
bajtos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| CREATE TABLE daily_miner_deals_checked ( | ||
| day DATE NOT NULL, | ||
| miner_id TEXT NOT NULL, | ||
| payload_cids TEXT[] NOT NULL, | ||
| PRIMARY KEY (day, miner_id) | ||
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.