public function setForeignKey(string $keyName, int $value): void
	{
		if ($this->storage instanceof NetteDatabaseStorage) {
			$this->storage->setForeignKey($keyName, $value);
		} elseif ($this->storage instanceof NextrasOrmStorage) {
			$this->storage->setForeignKey($keyName, $value);
		} else {
			throw new InvalidArgumentException('Storage is not database');
		}
	}