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.

error: no scheme for sqlite3 #332

@Vikash082

Description

@Vikash082

Was trying tool for sqlite3 migration.

$cat ./migration/1_init_schema.up.sql
CREATE TABLE pets (
name string
);

command:
$./migrate.linux-amd64 -database "sqlite3" -path ./migration/ up 1
error: no scheme

Is this bcoz I didn't passed DB? How the DB file is supposed to get created ?
From command line we use
$sqlite3 test.db

What need to be done ?

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