mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +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(
|
||||
`
|
||||
MATCH (everything)
|
||||
WHERE NOT 'Migration' IN labels(everything)
|
||||
DETACH DELETE everything
|
||||
`,
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user