Skip to content

Recent release breaks migrations that use 'create index concurrently' #2898

Closed
@Daniel-Ash

Description

@Daniel-Ash

Describe the bug

This occurred in a github action that uses the latest version of the CLI by default. Reverting to an older version (I picked 1.220.0 for no good reason) resolves the issue.

To Reproduce
Steps to reproduce the behavior:

  1. Install the latest version of the CLI (v1.223.10 as I write this).
  2. Add a migration with CREATE INDEX CONCURRENTLY
  3. Run supabase start
  4. Receive the following error:
    Applying migration [redacted].sql... Stopping containers... ERROR: CREATE INDEX CONCURRENTLY cannot be executed within a pipeline (SQLSTATE 25001)

Expected behavior
Migration should run without fail.

System information

  • Version of CLI: v1.223.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions