Generating migrations #43
-
I was trying to generate migrations instead of writing migration queries on my own. After several tries, it does not generate any queries inside the Up/Down methods. I believe is due to the ormconfig.json in the medusa package is pointing to their own directory, which cannot read migrations outside the folder. (Let me know if im wrong) Any suggestion on this? Besides, notice any new migrations will be auto applied during startup, any way to run it manually instead? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can check the CLI doc here |
Beta Was this translation helpful? Give feedback.
You can check the CLI doc here