From a900714d9ab9a854b6abc78931ff4f9ca32242e9 Mon Sep 17 00:00:00 2001 From: adrien2p Date: Sat, 26 Feb 2022 12:56:18 +0100 Subject: [PATCH] refactor(starters): Removing unnecessary static property in the migrations --- .../user/migrations/20211126000001-add-storeId-to-user.ts | 1 - .../user/migrations/20211126000001-add-storeId-to-user.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/starters/plugin-module/src/modules/user/migrations/20211126000001-add-storeId-to-user.ts b/starters/plugin-module/src/modules/user/migrations/20211126000001-add-storeId-to-user.ts index 910f47db..4d8ee686 100644 --- a/starters/plugin-module/src/modules/user/migrations/20211126000001-add-storeId-to-user.ts +++ b/starters/plugin-module/src/modules/user/migrations/20211126000001-add-storeId-to-user.ts @@ -4,7 +4,6 @@ import { MigrationInterface, QueryRunner } from 'typeorm'; @Migration() export default class addStoreIdToUser1611063162649 implements MigrationInterface { name = 'addStoreIdToUser1611063162649'; - static isHandledByMedusa = true; public async up(queryRunner: QueryRunner): Promise { const query = `ALTER TABLE public."user" ADD COLUMN IF NOT EXISTS "store_id" text;`; diff --git a/starters/server/src/modules/user/migrations/20211126000001-add-storeId-to-user.ts b/starters/server/src/modules/user/migrations/20211126000001-add-storeId-to-user.ts index 910f47db..4d8ee686 100644 --- a/starters/server/src/modules/user/migrations/20211126000001-add-storeId-to-user.ts +++ b/starters/server/src/modules/user/migrations/20211126000001-add-storeId-to-user.ts @@ -4,7 +4,6 @@ import { MigrationInterface, QueryRunner } from 'typeorm'; @Migration() export default class addStoreIdToUser1611063162649 implements MigrationInterface { name = 'addStoreIdToUser1611063162649'; - static isHandledByMedusa = true; public async up(queryRunner: QueryRunner): Promise { const query = `ALTER TABLE public."user" ADD COLUMN IF NOT EXISTS "store_id" text;`;