mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-02-06 09:56:03 +00:00
fix(backend): do not delete migrations on db:reset / cleanDatabase
This commit is contained in:
parent
41813eeab8
commit
b7b41874f9
@ -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