Master's version+revision and troubles when moving from develop
Steps to reproduce:
Full sync from scratch using develop's 1.24rc0+24a73d01,
then checkout HEAD of master, build/install, at this point it reports 0.0.1+46906b99
run db_upgrade.sh, then try to continue with hive sync
INFO - hive.indexer.sync - Using hived url: `{"default":"http://127.0.0.1:8091"}'
INFO - hive.steem.client - Endpoint default will be routed to node http://127.0.0.1:8091
INFO - hive.steem.http_client - using node: http://127.0.0.1:8091
INFO - hive.indexer.sync - hivemind_version : 0.0.1
INFO - hive.indexer.sync - hivemind_git_rev : 46906b99
INFO - hive.indexer.sync - database_schema_version : 18
INFO - hive.db.db_state - [INIT] Welcome to hive!
Traceback (most recent call last):
File "/home/hive/.local/bin/hive", line 11, in <module>
load_entry_point('hivemind==0.0.1+46906b99', 'console_scripts', 'hive')()
File "/home/hive/.local/lib/python3.6/site-packages/hivemind-0.0.1+46906b99-py3.6.egg/hive/cli.py", line 69, in run
launch_mode(mode, conf)
File "/home/hive/.local/lib/python3.6/site-packages/hivemind-0.0.1+46906b99-py3.6.egg/hive/cli.py", line 79, in launch_mode
Sync(conf=conf).run()
File "/home/hive/.local/lib/python3.6/site-packages/hivemind-0.0.1+46906b99-py3.6.egg/hive/indexer/sync.py", line 259, in run
DbState.initialize()
File "/home/hive/.local/lib/python3.6/site-packages/hivemind-0.0.1+46906b99-py3.6.egg/hive/db/db_state.py", line 53, in initialize
cls._check_migrations()
File "/home/hive/.local/lib/python3.6/site-packages/hivemind-0.0.1+46906b99-py3.6.egg/hive/db/db_state.py", line 417, in _check_migrations
raise Exception("dbv cannot be 0; reindex required")
Exception: dbv cannot be 0; reindex required