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

what is the migration_lock ?? #973

Closed
ikaasraa opened this issue Apr 28, 2024 · 2 comments
Closed

what is the migration_lock ?? #973

ikaasraa opened this issue Apr 28, 2024 · 2 comments
Labels
api Related to library's API built-in dialect Related to a built-in dialect custom dialect Related to a custom dialect question Further information is requested

Comments

@ikaasraa
Copy link

what is the migration_lock ?? why we have this in the database

@koskimas
Copy link
Member

koskimas commented Apr 28, 2024

Nice! Yelling incoherent sentences at people providing you free code is the best right?

Here, let me try:

what is love ?? baby don't hurt me

@kysely-org kysely-org locked as spam and limited conversation to collaborators Apr 28, 2024
@koskimas
Copy link
Member

koskimas commented Apr 28, 2024

migration_lock is a table that can be used by third party dialects to lock the migration table to prevent concurrent processes from running migrations at the same time. Not all database engines have global, or table locks. The migration_lock table has a single row that can be used as a lock if needed.

@igalklebanov igalklebanov added question Further information is requested custom dialect Related to a custom dialect built-in dialect Related to a built-in dialect api Related to library's API labels Apr 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api Related to library's API built-in dialect Related to a built-in dialect custom dialect Related to a custom dialect question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants