Changed primary key on block table to block hash instead of height, mitigating orphan conflict
Fixed a mistake in which sometimes a NULL shares to solve was recorded.
Wrote a migration for the new database objects