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

Assertion Error (unknown column 'run_on' in 'order clause') even without a 'run_on' column #836

Open
2 tasks
sriramk3 opened this issue Sep 19, 2024 · 0 comments

Comments

@sriramk3
Copy link

sriramk3 commented Sep 19, 2024

I'm submitting a...

  • Bug report
  • Feature request
  • [*] Question

Current behavior

Whenever I create a new migration file, the creation is successful while after changing the table structure according to the datatypes available or even using a test table with just 2 or 3 columns, I have been getting this error:
[ERROR] AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Unknown column 'run_on' in 'order clause'
while I'm trying to migrate.

I do not have an order clause nor a run_on column in my table.

I have setup correctly but the issue still persists.

Expected behavior

The desired behaviour is migrating the table to the database.

Minimal reproduction of the problem with instructions

Any command apart from the creation reproduces this behaviour.

Environment


db-migrate version: 10.2.4
db-migrate driver with versions: mysql 10.2.4

Additional information:
- Node version: v20.10.0
- Platform:  Mac
@github-staff github-staff deleted a comment from Kami-prog Sep 25, 2024
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