Skip to content

Commit

Permalink
feat(CostSurface): Small tweaks to the data migration script after re…
Browse files Browse the repository at this point in the history
…basing
  • Loading branch information
KevSanchez committed Sep 26, 2023
1 parent 9c4498a commit 4b8ac05
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ async function costSurfaceMigrationUp(queryRunner: QueryRunner): Promise<void> {
}

///////////////////////// Geo processing Side
// Fix a small bug that would prevent having more than 1 cost surface with shared PUs
await geoQueryRunner.query(`ALTER TABLE cost_surface_pu_data DROP CONSTRAINT if exists cost_surface_pu_data_puid_key;
ALTER TABLE cost_surface_pu_data ADD CONSTRAINT unique_cost_surface_puid UNIQUE (cost_surface_id, puid);`);

const updatedScenarios: {
id: string;
cost_surface_id: string;
Expand Down

0 comments on commit 4b8ac05

Please sign in to comment.