Indexer service binary does NOT run database migrations automatically in the program binary, as it might introduce conflicts with the migrations run by indexer agent. Indexer agent is solely responsible for syncing and migrating the database.
The migration files here are included here for testing only.
Run cargo install sqlx-cli --no-default-features --features native-tls,postgres
Simple option: run general installation that supports all databases supported by SQLx
cargo install sqlx-cli
Run sqlx migrate run