'Varchar', ]; private static $extensions = [ Versioned::class, ]; private static $owns = [ 'Items', // Should automatically own both mapping and child records ]; private static $many_many = [ 'Items' => [ 'through' => VersionedJoinObject::class, 'from' => 'Parent', 'to' => 'Child', ], ]; }