chore(): Fix database test utils and utils (#6383)

**What**
Fix the test utils database to trully run the migrations, the migration path is deprecated and not used anymore as umzung infer the path under the hood. It also fix the schema so that it is possible to specify different schema if needed.

The index helper can now create named constraints for uniqueness. 

extracted [from](https://github.com/medusajs/medusa/pull/6381)
This commit is contained in:
Adrien de Peretti
2024-02-12 19:07:15 +01:00
committed by GitHub
parent 1593e0b192
commit e85463b2a7
5 changed files with 90 additions and 32 deletions

View File

@@ -0,0 +1,6 @@
---
"medusa-test-utils": patch
"@medusajs/utils": patch
---
chore(): Fix database test utils and utils