Skip to content

macOS builds seem to have a CGO issue #18

@tlhunter

Description

@tlhunter

Running the sqlite tests using the mig binaries available in the releases produces this output:

{
  "error":"unable to tell if 'migrations' table exists!",
  "error_details":"Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub",
  "code":"unable_check_migrations"
}

However, when building locally on macOS the resulting binary is fine.

This means that the mig release binaries don't support SQLite. However MySQL and PostgreSQL both work fine.

Discovered while working on #16.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions