do not delete migrations

This commit is contained in:
Ulf Gebhardt 2023-03-15 11:57:28 +01:00
parent 9b759ec1d2
commit a67e3452da
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -23,6 +23,7 @@ export const cleanDatabase = async (options = {}) => {
return transaction.run(
`
MATCH (everything)
WHERE NOT 'Migration' IN labels(everything)
DETACH DELETE everything
`,
)