migrate: add lock

This commit is contained in:
undefined committed 2025-01-10 16:30:47 +08:00
1 parent 71ffb24bb1
commit a63a20cd3d
3 files changed
+19 -6

No files matched your search

+1
View File
@@ -520,6 +520,7 @@ ${nixConfBase}`);
skip: () => migration !== 'hustoj',
silent: true,
operations: [
'pm2 restart hydrooj',
() => {
const dbInc = readFileSync('/home/judge/src/web/include/db_info.inc.php', 'utf-8');
const l = dbInc.split('\n');