# Error querying storage collections

**URL:** <https://forum.heroiclabs.com/t/error-querying-storage-collections/3775>\
**Category:** Local Setup\
**Tags:** server-framework, golang, storage\
**Created:** [April 12, 2023, 12:35pm UTC](https://forum.heroiclabs.com/t/error-querying-storage-collections/3775 "2023-04-12T12:35:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![voxel456](https://avatars.discourse-cdn.com/v4/letter/v/45deac/32.png) [@voxel456](https://forum.heroiclabs.com/u/voxel456)\
**Post date:** [April 12, 2023, 12:35pm UTC](https://forum.heroiclabs.com/t/error-querying-storage-collections/3775/1 "2023-04-12T12:35:28Z")

</div>

{Details}

1. Versions: Nakama {3.5}, {Linux}
2. Server Framework Runtime language (If relevant) {Go}

Hello All, I succesfully upgraded nakama from 3.9.0 to 3.15.0, And after complete upgradae & database migrate, having the following error popping in the console

{“level”:“error”,“ts”:“XXXXX”,“caller”:“server/console.go:346”,“msg”:“Error querying storage collections.”,“error”:“ERROR: syntax error: unimplemented: unimplemented at or near "select" (SQLSTATE 0A000)”}

Couldn’t figure out this one & reaching out community here.  
Thanks in advance

```auto
{code or log snippet}

```

📺 **Media:**

---

<div class="post-metadata">

**Author:** ![sesposito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sesposito/32/2594_2.png) [@sesposito](https://forum.heroiclabs.com/u/sesposito)\
**Post date:** [April 12, 2023, 12:53pm UTC](https://forum.heroiclabs.com/t/error-querying-storage-collections/3775/2 "2023-04-12T12:53:20Z")

</div>

Hello @voxel456,

Are you running CRDB? If yes, what version?

---

<div class="post-metadata">

**Author:** ![voxel456](https://avatars.discourse-cdn.com/v4/letter/v/45deac/32.png) [@voxel456](https://forum.heroiclabs.com/u/voxel456)\
**Post date:** [April 12, 2023, 4:57pm UTC](https://forum.heroiclabs.com/t/error-querying-storage-collections/3775/3 "2023-04-12T16:57:31Z")

</div>

> [@sesposito](#):
>
> CRDB

Thank you!  
That was the issue.. I was on Cockroach DB v19.. Then after your reponse, i looked into documentation & found that minimum version is 20. So I upgraded cockroach. Problem solved 🙂
