Resyncing bcoin brings up database version error I was resyncing my bcoin node and got the following error:

 Error: Warning: Your database does not match the current database version. 
 This is likely because the database layout or serialization format has changed drastically. 
 If you want to dump your data, downgrade to your previous version first. 
 If you do not think you should be seeing this error, post an issue on the repo.
   at LowlevelUp.checkVersion (/root/bcoin/lib/db/lowlevelup.js:603:11)
   at &lt;anonymous&gt;
If you're running master, there was a recent migration that would cause this. 

you can run this to fix it:
node migrate/chaindb2to3.js /path/to/chaindb.ldb

That will take a very long time, but if you don't mind pruning your DB at the same time, you can run this instead and it will be much faster: 
node migrate/chaindb2to3.js /path/to/chaindb.ldb --prune

If that doesn't work you can always reset the DB and resync.
Just remove all .ldb files from ~/.bcoin dir and restart bcoin.