Skip to content

Conversation

@mmsinclair
Copy link
Contributor

@mmsinclair mmsinclair commented Dec 4, 2025

This PR fixes the migrations used for the Data Observatory by:

  • making the migrations in the base chain scraper configurable (default is on)
  • disabling the default migrations in the Data Observatory
  • using custom migrations for the Data Observatory that are manually synced from the base chain scraper (and checked by the build.rs script)

This change is Reviewable

@mmsinclair mmsinclair requested a review from jstuczyn December 4, 2025 16:08
@vercel
Copy link

vercel bot commented Dec 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
nym-explorer-v2 Ready Ready Preview Comment Dec 4, 2025 4:10pm

pub async fn init(connection_string: &str) -> Result<Self, PostgresScraperError> {
pub async fn init(
connection_string: &str,
run_migrations: &bool,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why pass bool as a reference? I'm surprised clippy hasn't complained

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me see what it says if I change it...

@mmsinclair mmsinclair marked this pull request as ready for review December 5, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants