Checks that database table column matches the criteria.
Drops column from database table, if it exists.