refactor(server): stack owner (#10900)

This commit is contained in:
Jason Rasmussen
2024-07-05 16:16:53 -04:00
committed by GitHub
parent f6cafa3290
commit e1f25b44d2
14 changed files with 46 additions and 34 deletions

View File

@@ -152,10 +152,6 @@ export const utils = {
const sql: string[] = [];
if (tables.includes('asset_stack')) {
sql.push('UPDATE "assets" SET "stackId" = NULL;');
}
for (const table of tables) {
if (table === 'system_metadata') {
// prevent reverse geocoder from being re-initialized