create-adonisjs 3.3.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/bin/run.js
CHANGED
|
@@ -318,7 +318,7 @@ var CreateNewApp = class extends BaseCommand {
|
|
|
318
318
|
* await this.#migrateDatabase()
|
|
319
319
|
*/
|
|
320
320
|
async #migrateDatabase() {
|
|
321
|
-
await mkdir(join(this.backendSourceDir, "tmp"));
|
|
321
|
+
await mkdir(join(this.backendSourceDir, "tmp"), { recursive: true });
|
|
322
322
|
await this.#runBashCommand(this.backendSourceDir, "node", ["ace", "migration:run"]);
|
|
323
323
|
}
|
|
324
324
|
/**
|
package/build/index.js
CHANGED