question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"yarn rw db up" Error querying the database: No such table: _migration

See original GitHub issue

When I run “yarn rw db up”, I received the error of Error querying the database: No such table: _migration.

MySql Action Output: Apply changes to _migration Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 2 SQL Statement: CREATE TABLE worker_transfer._migration ( )

redwoodjs: 0.19.2 MySQL: 8.0.21 OS: Windows 10 x64

image image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Tobbecommented, Oct 19, 2020

@andrew-hwahin Thanks for getting back to us about that. I’m sure more Windows users will eventually run in to this limitation.

1reaction
andrew-hwahincommented, Oct 19, 2020

According to this issue in Prisma repo, this issue is caused by

MySQL is case-insensitive on Windows. All identifiers are internally lower-cased. The migration engine diffing logic cannot handle this at the moment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to resolve db:migrate error SQLite3::SQLException: no ...
There is a migrate file for this model and I always thought that once you'd created the model then following a migrate it...
Read more >
dbAuth signup failure - RedwoodJS Community
I ran yarn rw setup auth dbAuth and that worked, then I set up a user model and migrated it successfully (I can...
Read more >
How to build a full-stack app in RedwoodJS - LogRocket Blog
To check if the migration was successful, you can go to Prisma Studio and see all the tables after migration. you can see...
Read more >
Learn Redwood, a Full-stack, Serverless Jamstack Framework
Imagine a React app, delivered by CDN, that sends GraphQL queries to a ... Database migrations are in SQLite and are part of...
Read more >
How to start with RedwoodJS - The full guide - Daily.dev
So model maps to tables in a database, and the fields of the model map to ... to use in running the query,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found