Fix(medusa): duplicated migration (#5029)
Fix duplicated migration class name
This commit is contained in:
1 parent
30863fee52
commit
05fcfd803e
2 files changed
+8
-1
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/medusa": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix duplicated migration - AddTimestempsToProductShippingProfiles1692870898425
|
||||||
+3
-1
@@ -3,7 +3,9 @@ import IsolateProductDomain from "../loaders/feature-flags/isolate-product-domai
|
|||||||
|
|
||||||
export const featureFlag = IsolateProductDomain.key
|
export const featureFlag = IsolateProductDomain.key
|
||||||
|
|
||||||
export class LineItemProductId1692870898424 implements MigrationInterface {
|
export class AddTimestempsToProductShippingProfiles1692870898425
|
||||||
|
implements MigrationInterface
|
||||||
|
{
|
||||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||||
await queryRunner.query(`
|
await queryRunner.query(`
|
||||||
ALTER TABLE "product_shipping_profile" ADD COLUMN IF NOT EXISTS "created_at" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now();
|
ALTER TABLE "product_shipping_profile" ADD COLUMN IF NOT EXISTS "created_at" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now();
|
||||||
|
|||||||
Reference in new issue
Block a user