Skip to content

pull returns error resource TABLE:undefined does not exist #57

@lfurzewaddock

Description

@lfurzewaddock

MySQL v8
Node v18

I'm not sure what the best approach is to use this lib with a legacy database. I guessed I needed to 'pull' down the uncontrolled shema from the database, but running pull with various settings including strict option false in control.yml

  • ./node_modules/.bin/sql-schema-control pull

returns error;

Error: resource TABLE:undefined does not exist

I also tried adding the table definitions, and the plan command works well but after making changes to a def, the plan & apply commands state theses changes must be made manually.

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