public function getForeignTableName()
    {
        if ($this->foreignSchemaName && $this->getTable()->getDatabase()->getPlatform()->supportsSchemas()) {
            return $this->foreignSchemaName . '.' . $this->foreignTableCommonName;
        } else {
            return $this->foreignTableCommonName;
        }
    }