protected function getModuleIds(string $moduleName) : array
    {
        $table = TableRegistry::get($moduleName);
        $query = $table->find()
            ->limit(100)
            ->select($table->getPrimaryKey());

        $result = [];
        foreach ($query->all() as $entity) {
            $result[] = $entity->get($table->getPrimaryKey());
        }

        return $result;
    }