mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-27 12:08:02 -05:00
f606a7825f
We cannot execute the cleanup script as a subprocess with sqlite, as we now wrap the migrations in a SAVEPOINT, which blocks a second process. This moves the cleanup code into the migration file, so it can be executed in-process. Signed-off-by: David Mehren <git@herrmehren.de>
7 lines
155 B
JavaScript
Executable file
7 lines
155 B
JavaScript
Executable file
#!/usr/bin/env node
|
|
|
|
const cleanup = require('../lib/migrations/20200321153000-fix-account-deletion').cleanup
|
|
|
|
cleanup().then(() => {
|
|
process.exit(0)
|
|
})
|