-
Notifications
You must be signed in to change notification settings - Fork 493
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
NO TRANSACTION annotation is case sensitive #765
Comments
Which version of goose are you using? The case sensitive annotations were added in v3.19.1. |
|
Ah, ok. It's already 3.20.x. Let me update and check. |
Thanks @mfridman |
It'd be nice if we added the minimum version throughout the docs (which I'm currently working to expand). But it's a bit of overhead to track, so not sure we'll end up doing it due to maintenance cost. |
Also, I just noticed you mentioned going from We tried really hard to keep backwards compatibility so I'm glad nothing broke for you! |
@mfridman Don't worry, I use goose in a new project that doesn't have a live database yet. |
According to the documentation, annotations are case-insensitive: https://pressly.github.io/goose/reference/annotations/
However, I wasn't able to get rid of the
CREATE INDEX CONCURRENTLY cannot run inside a transaction block
error without setting theNO TRANSACTION
annotation in upper-case.The text was updated successfully, but these errors were encountered: