Update FAQ.md

Co-Authored-By: a-h <[email protected]>
This commit is contained in:
Dale Hui
2018-12-14 16:28:04 +00:00
committed by GitHub
co-authored by a-h
parent 450478d5cd
commit 64363ecae9
+1 -1
View File
@@ -65,6 +65,6 @@
and then "force" the expected version.
#### What happens if two programs try and update the database at the same time?
Database-specific locking features are used by each migration driver to prevent multiple processes from attempting to migrate
Database-specific locking features are used by *some* database drivers to prevent multiple instances of migrate from running migrations at the same time
the same database at the same time. For example, the MySQL driver uses the `GET_LOCK` function, while the Postgres driver uses
the `pg_advisory_lock` function.