@uetuluk/create-cli 0.0.3 → 0.0.4
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/dist/cli.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -281,7 +281,7 @@ cli.command("deploy <name>", "push schema + migrations to your instance").option
|
|
|
281
281
|
const r = await api(inst.url, "/api/v1/migrations", {
|
|
282
282
|
method: "POST",
|
|
283
283
|
token: inst.adminToken,
|
|
284
|
-
body: JSON.stringify({
|
|
284
|
+
body: JSON.stringify({ settings, generate: true })
|
|
285
285
|
});
|
|
286
286
|
console.log(colors.green(`deployed to ${inst.url}`));
|
|
287
287
|
if (r.applied?.length) console.log(` applied: ${r.applied.join(", ")}`);
|