Skip to content

Commit 8465e15

Browse files
authored
fix(): rollback stat migration (#1193)
* fix(): rollback stat migration * fix(): reset most recent schema version to 1.6 * fix(): remove summary stat migration from hub.js
1 parent 8a3472c commit 8465e15

File tree

8 files changed

+1
-827
lines changed

8 files changed

+1
-827
lines changed

packages/common/src/sites/_internal/_migrate-summary-stat-card-configs.ts

Lines changed: 0 additions & 230 deletions
This file was deleted.

packages/common/src/sites/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
export * from "./_internal/_ensure-telemetry";
22
export * from "./_internal/_migrate-feed-config";
33
export * from "./_internal/_migrate-event-list-card-configs";
4-
export * from "./_internal/_migrate-summary-stat-card-configs";
54
export * from "./domains";
65
export * from "./drafts";
76
export * from "./fetchSiteModel";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SITE_SCHEMA_VERSION = 1.7;
1+
export const SITE_SCHEMA_VERSION = 1.6;

packages/common/src/sites/upgrade-site-schema.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { _purgeNonGuidsFromCatalog } from "./_internal/_purge-non-guids-from-cat
88
import { _ensureTelemetry } from "./_internal/_ensure-telemetry";
99
import { _migrateFeedConfig } from "./_internal/_migrate-feed-config";
1010
import { _migrateEventListCardConfigs } from "./_internal/_migrate-event-list-card-configs";
11-
import { _migrateSummaryStatCardConfigs } from "./_internal/_migrate-summary-stat-card-configs";
1211

1312
/**
1413
* Upgrades the schema upgrades
@@ -26,7 +25,6 @@ export function upgradeSiteSchema(model: IModel) {
2625
model = _ensureTelemetry<IModel>(model);
2726
model = _migrateFeedConfig(model);
2827
model = _migrateEventListCardConfigs(model);
29-
model = _migrateSummaryStatCardConfigs(model);
3028
// WARNING - If you are writing a site schema migration,
3129
// you probably need to apply it to site drafts as well!
3230
// See https://github.com/Esri/hub.js/issues/498 for more details.

0 commit comments

Comments
 (0)