Explicitly unsetting parameters in seed.
This commit is contained in:
@@ -929,7 +929,7 @@ exports.seed = (knex) => Promise.resolve()
|
|||||||
description: network.description,
|
description: network.description,
|
||||||
has_logo: network.hasLogo ?? true,
|
has_logo: network.hasLogo ?? true,
|
||||||
showcased: typeof network.showcased === 'boolean' ? network.showcased : true,
|
showcased: typeof network.showcased === 'boolean' ? network.showcased : true,
|
||||||
parameters: network.parameters,
|
parameters: network.parameters || null,
|
||||||
options: network.options,
|
options: network.options,
|
||||||
parent_id: grandParentNetworksBySlug[network.parent] || null,
|
parent_id: grandParentNetworksBySlug[network.parent] || null,
|
||||||
}));
|
}));
|
||||||
@@ -946,7 +946,7 @@ exports.seed = (knex) => Promise.resolve()
|
|||||||
description: network.description,
|
description: network.description,
|
||||||
has_logo: network.hasLogo ?? true,
|
has_logo: network.hasLogo ?? true,
|
||||||
showcased: typeof network.showcased === 'boolean' ? network.showcased : true,
|
showcased: typeof network.showcased === 'boolean' ? network.showcased : true,
|
||||||
parameters: network.parameters,
|
parameters: network.parameters || null,
|
||||||
options: network.options,
|
options: network.options,
|
||||||
parent_id: parentNetworksBySlug[network.parent] || grandParentNetworksBySlug[network.parent] || null,
|
parent_id: parentNetworksBySlug[network.parent] || grandParentNetworksBySlug[network.parent] || null,
|
||||||
}));
|
}));
|
||||||
|
|||||||
@@ -15532,7 +15532,7 @@ exports.seed = (knex) => Promise.resolve()
|
|||||||
alias: site.alias,
|
alias: site.alias,
|
||||||
description: site.description,
|
description: site.description,
|
||||||
url: site.url,
|
url: site.url,
|
||||||
parameters: site.parameters,
|
parameters: site.parameters || null,
|
||||||
options: site.options,
|
options: site.options,
|
||||||
parent_id: networksMap[site.parent],
|
parent_id: networksMap[site.parent],
|
||||||
priority: site.priority || 0,
|
priority: site.priority || 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user