docs(database) Fix inaccurate description of lock in comment

This commit is contained in:
ald_productions
2026-07-09 23:00:44 -07:00
parent 85482d2d76
commit 0b26568b26
+1 -1
View File
@@ -111,7 +111,7 @@ export async function initDatabase(): Promise<DataSource> {
if (applyMigrations) {
const qr = dbConnection.createQueryRunner();
/*
The transaction lock ensures that exactly one server is attempting to run migrations at a time.
The advisory lock ensures that exactly one server is attempting to run migrations at a time.
It is session-specific, so should be released if a crash occurs. It is also blocking, so all
servers can run their logic.
*/