You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are currently 7 goose annotations that may be found in a .SQL file. These annotations define how goose behaves when it reads a .SQL file (outdated post, but should give you an idea of how/why to use these annotations).
Over the years as different folks worked on the project, we've mixed uppercase and pascal case. For consistency, we should make these (and future) annotations case-insensitive.
While we do this, we should also add validation to ensure if we come across -- +goose [annotation] that the annotation is known to goose and otherwise error.
+goose Up
+goose Down
+goose StatementBegin
+goose StatementEnd
+goose NO
+goose ENVSUB
+goose ENVSUB
The text was updated successfully, but these errors were encountered:
There are currently 7 goose annotations that may be found in a .SQL file. These annotations define how goose behaves when it reads a .SQL file (outdated post, but should give you an idea of how/why to use these annotations).
Over the years as different folks worked on the project, we've mixed uppercase and pascal case. For consistency, we should make these (and future) annotations case-insensitive.
While we do this, we should also add validation to ensure if we come across
-- +goose [annotation]
that the annotation is known to goose and otherwise error.The text was updated successfully, but these errors were encountered: