Feat(medusa, cli): plugin db generate (#10988)
RESOLVES FRMW-2875 **What** Allow to generate migration for plugins. Migration generation defer from project migration generation and therefore we choose to separate responsibility entirely. The flow is fairly simple, the user run `npx medusa plugin:db:generate` and the script will scan for all available modules in the plugins, gather their models information and generate the appropriate migrations and snapshot (for later generation) Co-authored-by: Harminder Virk <1706381+thetutlage@users.noreply.github.com>
This commit is contained in:
co-authored by
Harminder Virk
parent
5582bd2038
commit
0cfaab5bb1
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@medusajs/medusa": patch
|
||||
"@medusajs/cli": patch
|
||||
---
|
||||
|
||||
Feat(medusa, cli): plugin db generate
|
||||
Reference in New Issue
Block a user