Specify explicit default value (for sqlite) and remove object_type column not in use