feat(core, medusa, cli): Enable migration scripts (#10960)
* feat(core, medusa): Enable migration scripts * spacing * rm unnecessary import * Allow to skip script migration * fix missing options * add options * add tests and small changes * update * add checks * add lock mechanism to be extra safe * Create six-bears-vanish.md * update queries * fix tests --------- Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
62d543e691
commit
0924164e86
@@ -178,6 +178,10 @@ function buildLocalCommands(cli, isLocalProject) {
|
||||
command: "db:migrate",
|
||||
desc: "Migrate the database by executing pending migrations",
|
||||
builder: (builder) => {
|
||||
builder.option("skip-scripts", {
|
||||
type: "boolean",
|
||||
describe: "Do not run migration scripts",
|
||||
})
|
||||
builder.option("skip-links", {
|
||||
type: "boolean",
|
||||
describe: "Do not sync links",
|
||||
|
||||
Reference in New Issue
Block a user