Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lfurzewaddock opened this issue Oct 12, 2023 · 0 comments
Open

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

lfurzewaddock opened this issue Oct 12, 2023 · 0 comments

Comments

@lfurzewaddock
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant