From f33ad53e72fb6664f372e9a4af6b798685fef284 Mon Sep 17 00:00:00 2001 From: Paul Rastoin <45004772+prastoin@users.noreply.github.com> Date: Tue, 7 Apr 2026 10:02:07 +0200 Subject: [PATCH] chore: remove registeredCoreMigration (#19376) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Félix Malfait --- .../1774700000000-add-global-key-value-pair-unique-index.ts | 2 -- .../common/1774966727625-addIsActiveToOverridableEntities.ts | 3 --- .../common/1775001600000-add-status-to-agent-message.ts | 3 --- ...775129420309-add-view-field-group-id-index-on-view-field.ts | 3 --- 4 files changed, 11 deletions(-) diff --git a/packages/twenty-server/src/database/typeorm/core/migrations/common/1774700000000-add-global-key-value-pair-unique-index.ts b/packages/twenty-server/src/database/typeorm/core/migrations/common/1774700000000-add-global-key-value-pair-unique-index.ts index 3a90f013be..a187f96a34 100644 --- a/packages/twenty-server/src/database/typeorm/core/migrations/common/1774700000000-add-global-key-value-pair-unique-index.ts +++ b/packages/twenty-server/src/database/typeorm/core/migrations/common/1774700000000-add-global-key-value-pair-unique-index.ts @@ -1,9 +1,7 @@ import { type MigrationInterface, type QueryRunner } from 'typeorm'; -import { RegisteredCoreMigration } from 'src/database/typeorm/core/decorators/registered-core-migration.decorator'; import { addGlobalKeyValuePairUniqueIndexQueries } from 'src/database/typeorm/core/migrations/utils/1774700000000-add-global-key-value-pair-unique-index.util'; -@RegisteredCoreMigration('1.21.0') export class AddGlobalKeyValuePairUniqueIndex1774700000000 implements MigrationInterface { diff --git a/packages/twenty-server/src/database/typeorm/core/migrations/common/1774966727625-addIsActiveToOverridableEntities.ts b/packages/twenty-server/src/database/typeorm/core/migrations/common/1774966727625-addIsActiveToOverridableEntities.ts index 772f38cd88..ba75edd24d 100644 --- a/packages/twenty-server/src/database/typeorm/core/migrations/common/1774966727625-addIsActiveToOverridableEntities.ts +++ b/packages/twenty-server/src/database/typeorm/core/migrations/common/1774966727625-addIsActiveToOverridableEntities.ts @@ -1,8 +1,5 @@ import { MigrationInterface, QueryRunner } from 'typeorm'; -import { RegisteredCoreMigration } from 'src/database/typeorm/core/decorators/registered-core-migration.decorator'; - -@RegisteredCoreMigration('1.21.0') export class AddIsActiveToOverridableEntities1774966727625 implements MigrationInterface { diff --git a/packages/twenty-server/src/database/typeorm/core/migrations/common/1775001600000-add-status-to-agent-message.ts b/packages/twenty-server/src/database/typeorm/core/migrations/common/1775001600000-add-status-to-agent-message.ts index 84510b1714..2b81a7562b 100644 --- a/packages/twenty-server/src/database/typeorm/core/migrations/common/1775001600000-add-status-to-agent-message.ts +++ b/packages/twenty-server/src/database/typeorm/core/migrations/common/1775001600000-add-status-to-agent-message.ts @@ -1,8 +1,5 @@ import { MigrationInterface, QueryRunner } from 'typeorm'; -import { RegisteredCoreMigration } from 'src/database/typeorm/core/decorators/registered-core-migration.decorator'; - -@RegisteredCoreMigration('1.21.0') export class AddStatusToAgentMessage1775001600000 implements MigrationInterface { diff --git a/packages/twenty-server/src/database/typeorm/core/migrations/common/1775129420309-add-view-field-group-id-index-on-view-field.ts b/packages/twenty-server/src/database/typeorm/core/migrations/common/1775129420309-add-view-field-group-id-index-on-view-field.ts index 6c1bf809d5..de55c0f4c1 100644 --- a/packages/twenty-server/src/database/typeorm/core/migrations/common/1775129420309-add-view-field-group-id-index-on-view-field.ts +++ b/packages/twenty-server/src/database/typeorm/core/migrations/common/1775129420309-add-view-field-group-id-index-on-view-field.ts @@ -1,8 +1,5 @@ import { type MigrationInterface, type QueryRunner } from 'typeorm'; -import { RegisteredCoreMigration } from 'src/database/typeorm/core/decorators/registered-core-migration.decorator'; - -@RegisteredCoreMigration('1.21.0') export class AddViewFieldGroupIdIndexOnViewField1775129420309 implements MigrationInterface {