mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-06 05:23:38 +00:00
fix(freight-api): resolve migration timestamp collision with dev
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
This commit is contained in:
@@ -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<void> {
|
||||
await queryRunner.query(`
|
||||
Reference in New Issue
Block a user