-
Notifications
You must be signed in to change notification settings - Fork 24
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
Syntax bug in genmigrations #247
Comments
Is there some way I can see the generated SQL? |
I quickly tried to reproduce this with a new project and a SQLite3 database but I wasn't able to get this syntax error. Which versions of Marten and SQLite3 are you using exactly? |
This is my shards.lock
|
You can set the I am still not able to reproduce, and I have the exact same shards as you. Would you be able to share the full model definition with which you are encountering this and the generated migrations? 🙏 |
Unfortunately, the project I saw this in is not backed by Git properly. So I can't go back in time and recreate the issue. But if I run into this issue again, I'll be sure to document the path to the issue properly, and share that. |
I had a model with a UUID primary key.
genmigrations
andmigrate
worked fine here.I changed this to use an integer instead
genmigrations
works, but I have this error when Imigrate
The text was updated successfully, but these errors were encountered: