Granola-Team / mina-indexer

The Mina Indexer is a re-imagined version of the software collectively called the "Mina archive node."
Apache License 2.0
18 stars 10 forks source link

Problem: the database is not versioned #1039

Closed robinbb closed 3 months ago

robinbb commented 3 months ago

There should be a version number in the database that changes whenever the database format changes. Or, that simply changes with the commit hash (revision) of the source code! This can be used to verify that the database is compatible with the running mina-indexer.

Isaac-DeFrain commented 3 months ago

Add CLI command for db version