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 @@ -65,10 +65,12 @@ Future<void> migrateIsBlocked() async {
6565Future <void > _removeKnownUnmappedFields () async {
6666 await for (final p in dbService.query <Package >().run ()) {
6767 if (p.additionalProperties.isEmpty) continue ;
68- if (p.additionalProperties.containsKey ('blocked' ) ||
68+ if (p.additionalProperties.containsKey ('automatedPublishingJson' ) ||
69+ p.additionalProperties.containsKey ('blocked' ) ||
6970 p.additionalProperties.containsKey ('blockedReason' )) {
7071 await withRetryTransaction (dbService, (tx) async {
7172 final pkg = await tx.lookupValue <Package >(p.key);
73+ pkg.additionalProperties.remove ('automatedPublishingJson' );
7274 pkg.additionalProperties.remove ('blocked' );
7375 pkg.additionalProperties.remove ('blockedReason' );
7476 tx.insert (pkg);
You can’t perform that action at this time.
0 commit comments