/**
  * Calculates abstract type of inner key. Must return null if no key defined or required.
  * Primary types will be converted to appropriate sized integers.
  *
  * @return null|string
  * @throws SchemaException
  */
 public function getInnerKeyType()
 {
     if (empty($innerKey = $this->getInnerKey())) {
         return null;
     }
     return $this->resolveAbstract($this->record->tableSchema()->column($innerKey));
 }