Skip to content

Postgres v15 migration #716

@johnshift

Description

@johnshift

Bug report

Describe the bug

New projects with postgres v15 conflicts with config.toml. Previous versions were working correctly.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Create new supabase project (new projects use postgres-15 instance).
  2. Get server major_version by running SHOW server_version in remote instance.
  3. Set db major_version = 15 in config.toml.

Expected behavior

Migration should work as expected.

Screenshots

v14 related images

image
ci-invalid-major-14

v15 related images

image
ci-invalid-major-15
image

github-actions workflow:

image

System information

  • OS: ubuntu 22.04
  • Version of supabase-js: "@supabase/supabase-js": "^2.2.0"
  • Version of Node.js: v18.12.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions