Skip to content
This repository was archived by the owner on Jun 28, 2018. It is now read-only.
This repository was archived by the owner on Jun 28, 2018. It is now read-only.

Issue with CLI #317

Open
golang-migrate/migrate
#89

Description

@vikashvverma

I have been trying to run migrate CLI to run migrations but unfortunately it throws error: no scheme error:
migrate -database "$(cat db/config.json | jq '.database')" -source db/migrations -verbose up

Activity

  1. stephenhu commented on Dec 15, 2017

    @stephenhu

    this means that the -source flag did not include a scheme like "file". please try:

    migrate -database "$(cat db/config.json | jq '.database')" -source file://db/migrations up

  2. borgotta commented on Dec 20, 2017

    @borgotta

    This requirement should be documented. Cli's readme has examples without the "source" option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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