cli icon indicating copy to clipboard operation
cli copied to clipboard

Sync local postgrest container version with hosted

Open Marviel opened this issue 3 years ago • 1 comments

https://github.com/supabase/cli/blob/f71be9e378b44043e96b0283e221831e722fe7d9/internal/utils/misc.go#L36

When you hit swagger on Supabase hosted, you see the following output:

"info": {
        "description": "@graphql({\"inflect_names\": true})",
        "title": "PostgREST API",
        "version": "**9.0.0.20220531** (pre-release) (d14f745)"
},

However, locally you see:

"info": {
        "version": "**9.0.0.20220211** (pre-release)",
        "title": "PostgREST API",
        "description": "standard public schema"
},

Marviel avatar Aug 18 '22 22:08 Marviel

Hi @Marviel , I'm getting different versions for my hosted project.

{
  "swagger": "2.0",
  "info": {
    "description": "standard public schema",
    "title": "PostgREST API",
    "version": "9.0.1.20220717 (pre-release) (d2df289)"

and locally

{
  "swagger": "2.0",
  "info": {
    "description": "standard public schema",
    "title": "PostgREST API",
    "version": "9.0.1.20220802 (pre-release)"

The local version should be on the latest release, ie. 9.0.1.20220802. Perhaps you can look into clearing local docker image cache?

The hosted postgREST version is currently on v9.0.1.20220717. But we do batched upgrades, so your project may not have been included in the upgrade yet. If this is blocking something, we can upgrade manually for you too.

We will look into a more automated way of synching these image versions as an enhancement.

sweatybridge avatar Aug 19 '22 02:08 sweatybridge