File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,12 @@ Future<void> migrateIsBlocked() async {
9595Future <void > _removeKnownUnmappedFields () async {
9696 await for (final p in dbService.query <Package >().run ()) {
9797 if (p.additionalProperties.isEmpty) continue ;
98- if (p.additionalProperties.containsKey ('isWithheld' ) ||
98+ if (p.additionalProperties.containsKey ('automatedPublishingJson' ) ||
99+ p.additionalProperties.containsKey ('isWithheld' ) ||
99100 p.additionalProperties.containsKey ('withheldReason' )) {
100101 await withRetryTransaction (dbService, (tx) async {
101102 final pkg = await tx.lookupValue <Package >(p.key);
103+ pkg.additionalProperties.remove ('automatedPublishingJson' );
102104 pkg.additionalProperties.remove ('isWithheld' );
103105 pkg.additionalProperties.remove ('withheldReason' );
104106 tx.insert (pkg);
You can’t perform that action at this time.
0 commit comments