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

Linter for versioned workflow doesn't follow transaction model #2994

Open
mgabeler-lee-6rs opened this issue Jul 22, 2024 · 0 comments
Open
Assignees

Comments

@mgabeler-lee-6rs
Copy link

I have a ... complex ... migration that needs to do a lock table ... in exclusive mode to protect against some concurrent data access problems, and atlas migrate lint fails on this with:

Error: executing statement: pq: LOCK TABLE can only be used in transaction blocks

atlas migrate lint doesn't seem to accept the --tx-mode argument, and so it's not surprising that adding a --atlas:tx-mode file doesn't help this.

Using v0.25.0.

@a8m a8m self-assigned this Jul 22, 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

2 participants