Fix(medusa): duplicated migration (#5029)
Fix duplicated migration class name
This commit is contained in:
committed by
GitHub
parent
30863fee52
commit
05fcfd803e
5
.changeset/tender-cups-play.md
Normal file
5
.changeset/tender-cups-play.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/medusa": patch
|
||||
---
|
||||
|
||||
Fix duplicated migration - AddTimestempsToProductShippingProfiles1692870898425
|
||||
@@ -3,7 +3,9 @@ import IsolateProductDomain from "../loaders/feature-flags/isolate-product-domai
|
||||
|
||||
export const featureFlag = IsolateProductDomain.key
|
||||
|
||||
export class LineItemProductId1692870898424 implements MigrationInterface {
|
||||
export class AddTimestempsToProductShippingProfiles1692870898425
|
||||
implements MigrationInterface
|
||||
{
|
||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`
|
||||
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