Removed not needed 'to' in ORM migration and changed 'object' to 'objects' in ORM