Explicitly unsetting parameters in seed.

This commit is contained in:
DebaucheryLibrarian
2026-03-02 00:49:01 +01:00
parent 2b20d98ee0
commit d49e6ef488
2 changed files with 3 additions and 3 deletions

View File

@@ -929,7 +929,7 @@ exports.seed = (knex) => Promise.resolve()
description: network.description,
has_logo: network.hasLogo ?? true,
showcased: typeof network.showcased === 'boolean' ? network.showcased : true,
parameters: network.parameters,
parameters: network.parameters || null,
options: network.options,
parent_id: grandParentNetworksBySlug[network.parent] || null,
}));
@@ -946,7 +946,7 @@ exports.seed = (knex) => Promise.resolve()
description: network.description,
has_logo: network.hasLogo ?? true,
showcased: typeof network.showcased === 'boolean' ? network.showcased : true,
parameters: network.parameters,
parameters: network.parameters || null,
options: network.options,
parent_id: parentNetworksBySlug[network.parent] || grandParentNetworksBySlug[network.parent] || null,
}));

View File

@@ -15532,7 +15532,7 @@ exports.seed = (knex) => Promise.resolve()
alias: site.alias,
description: site.description,
url: site.url,
parameters: site.parameters,
parameters: site.parameters || null,
options: site.options,
parent_id: networksMap[site.parent],
priority: site.priority || 0,