Skip to content

Commit

Permalink
feat(cart): Migration file (#6156)
Browse files Browse the repository at this point in the history
* feat(cart): Migration file

* fixup migration

* Add indexes on cart table for currency, region, and sales channel

* fix indexes

* address PR comments
  • Loading branch information
olivermrbl authored Jan 29, 2024
1 parent 512b041 commit c15438c
Show file tree
Hide file tree
Showing 10 changed files with 1,529 additions and 260 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Modules } from "@medusajs/modules-sdk"
import { ICartModuleService } from "@medusajs/types"
import { CheckConstraintViolationException } from "@mikro-orm/core"
import { initModules } from "medusa-test-utils"
import { MikroOrmWrapper } from "../../../utils"
import { Modules } from "@medusajs/modules-sdk"
import { getInitModuleConfig } from "../../../utils/get-init-module-config"
import { initModules } from "medusa-test-utils"

jest.setTimeout(30000)

Expand Down
122 changes: 0 additions & 122 deletions packages/cart/integration-tests/__tests__/services/cart/index.spec.ts

This file was deleted.

Loading

0 comments on commit c15438c

Please sign in to comment.