Migrating object_type to table as well