Some fixes to database schema

Removed unwanted column.
Added new table to control database version.