From 8f38d6f573d88dd597258f2ba18fe35d320e7095 Mon Sep 17 00:00:00 2001 From: ghost2023 Date: Fri, 4 Sep 2026 16:31:16 +0300 Subject: [PATCH] fix(freight-api): resolve migration timestamp collision with dev MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit dev independently added 3850000000000-Publications.ts. Renumbered the DJF branch's own 3850000000000-ExchangeSettingsPerCurrency.ts to the next free slot (3880000000000, above this branch's other new migrations) per the project's unique-timestamp rule. Unpushed and un-shared, so a rename is safe here — updated the class name/name property to match, and the already-applied local dev DB's recorded migration row. Claude-Session: https://claude.ai/code/session_01CZy77vCWhka3pnmVF9NDkL --- ...rrency.ts => 3880000000000-ExchangeSettingsPerCurrency.ts} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename apps/edr-freight-api/src/migrations/{3850000000000-ExchangeSettingsPerCurrency.ts => 3880000000000-ExchangeSettingsPerCurrency.ts} (94%) diff --git a/apps/edr-freight-api/src/migrations/3850000000000-ExchangeSettingsPerCurrency.ts b/apps/edr-freight-api/src/migrations/3880000000000-ExchangeSettingsPerCurrency.ts similarity index 94% rename from apps/edr-freight-api/src/migrations/3850000000000-ExchangeSettingsPerCurrency.ts rename to apps/edr-freight-api/src/migrations/3880000000000-ExchangeSettingsPerCurrency.ts index 07444c0a2..3677e6269 100644 --- a/apps/edr-freight-api/src/migrations/3850000000000-ExchangeSettingsPerCurrency.ts +++ b/apps/edr-freight-api/src/migrations/3880000000000-ExchangeSettingsPerCurrency.ts @@ -6,8 +6,8 @@ import { MigrationInterface, QueryRunner } from 'typeorm'; * currency) gets its own fallback rate, source and sync timestamp instead of * a parallel column per currency. */ -export class ExchangeSettingsPerCurrency3850000000000 implements MigrationInterface { - name = 'ExchangeSettingsPerCurrency3850000000000'; +export class ExchangeSettingsPerCurrency3880000000000 implements MigrationInterface { + name = 'ExchangeSettingsPerCurrency3880000000000'; public async up(queryRunner: QueryRunner): Promise { await queryRunner.query(`