8000 Implement BigQuery migration driver by ocramh · Pull Request #1185 · golang-migrate/migrate · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Implement BigQuery migration driver #1185

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ocramh
Copy link
@ocramh ocramh commented Oct 9, 2024

This PR adds support for BigQuery migration driver.

We just noticed there is already an open PR for this (#881), so we can close it if the other one is approved.

@smulube
Copy link
smulube commented Oct 31, 2024

Hi, just wondered if you had any feedback or comments on the above? @dhui

@nosovk
Copy link
nosovk commented Nov 7, 2024

It would be nice to have it onboard.

@zetaab
Copy link
zetaab commented Apr 29, 2025

the lock in this PR does not work if someone is executing multiple processes at the same time (like kubernetes pods). The lock should happen in database level not in process itself.

// can run at a time. Migrate will call this function before Run is called.
// If the implementation can't provide this functionality, return nil.
// Return database.ErrLocked if database is already locked.
func (b *BigQuery) Lock() error {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lock should be implemented in database level

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

Successfully merging this pull request may close these issues.

4 participants
0