Skip to content

File does not exist with pkger #171

@jufemaiz

Description

@jufemaiz

Hi team, love sql-migrate but have found an issue working with it and using the https://github.com/markbates/pkger/ solution for embedding static files.

Like #167 we are seeing issues related to file not found when traversing the files in the migration directory.

The steps used in sql-migrate are:

Changing this to the following resolves this issue:

file, err := dir.Open(fmt.Sprintf("/%s"), info.Name())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions