mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
do not delete migrations
This commit is contained in:
parent
9b759ec1d2
commit
a67e3452da
@ -23,6 +23,7 @@ export const cleanDatabase = async (options = {}) => {
|
|||||||
return transaction.run(
|
return transaction.run(
|
||||||
`
|
`
|
||||||
MATCH (everything)
|
MATCH (everything)
|
||||||
|
WHERE NOT 'Migration' IN labels(everything)
|
||||||
DETACH DELETE everything
|
DETACH DELETE everything
|
||||||
`,
|
`,
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user