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,
}));