mirror of
https://github.com/immich-app/immich.git
synced 2025-07-07 09:12:56 +02:00
fix: web e2e (#12869)
This commit is contained in:
parent
b1cdf73a24
commit
0cce7ebf25
5 changed files with 9 additions and 11 deletions
e2e/src
|
@ -156,8 +156,7 @@ export const utils = {
|
|||
|
||||
for (const table of tables) {
|
||||
if (table === 'system_metadata') {
|
||||
// prevent reverse geocoder from being re-initialized
|
||||
sql.push(`DELETE FROM "system_metadata" where "key" != 'reverse-geocoding-state';`);
|
||||
sql.push(`DELETE FROM "system_metadata" where "key" NOT IN ('reverse-geocoding-state', 'system-flags');`);
|
||||
} else {
|
||||
sql.push(`DELETE FROM ${table} CASCADE;`);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue