From b1b6920e1ecd8991935099544c115e680f04a500 Mon Sep 17 00:00:00 2001 From: Luis Majano Date: Thu, 31 Mar 2022 16:12:49 -0500 Subject: [PATCH 1/2] version bump --- box.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/box.json b/box.json index 885556c..24dff40 100644 --- a/box.json +++ b/box.json @@ -1,6 +1,6 @@ { "name":"ContentBox CLI", - "version":"1.3.1", + "version":"1.4.0", "location":"https://downloads.ortussolutions.com/ortussolutions/commandbox-modules/contentbox-cli/@build.version@/contentbox-cli-@build.version@.zip", "slug":"contentbox-cli", "author":"Ortus Solutions, Corp", From c5e887693c95681f17cf8b1aedf80e6c35bb5bbd Mon Sep 17 00:00:00 2001 From: Luis Majano Date: Thu, 31 Mar 2022 16:52:23 -0500 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20*=20Don't=20run=20mig?= =?UTF-8?q?rations=20on=20new=20installs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- box.json | 2 +- changelog.md | 7 +++++++ commands/contentbox/install.cfc | 7 ------- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/box.json b/box.json index 24dff40..ff2d61a 100644 --- a/box.json +++ b/box.json @@ -1,6 +1,6 @@ { "name":"ContentBox CLI", - "version":"1.4.0", + "version":"1.3.2", "location":"https://downloads.ortussolutions.com/ortussolutions/commandbox-modules/contentbox-cli/@build.version@/contentbox-cli-@build.version@.zip", "slug":"contentbox-cli", "author":"Ortus Solutions, Corp", diff --git a/changelog.md b/changelog.md index 70948d8..4fc461b 100644 --- a/changelog.md +++ b/changelog.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +---- + +## [v1.3.2] => 2022-MAR-31 + +### Fixed + +* Don't run migrations on new installs ---- diff --git a/commands/contentbox/install.cfc b/commands/contentbox/install.cfc index 0dcb910..5729782 100644 --- a/commands/contentbox/install.cfc +++ b/commands/contentbox/install.cfc @@ -183,13 +183,6 @@ component { sleep( 1000 ); command( "migrate install" ).run(); - variables.print - .line() - .blueLine( "Please wait while we run the initial migrations..." ) - .toConsole(); - sleep( 1000 ); - command( "migrate up migrationsDirectory=modules/contentbox/migrations" ).run(); - // Confirm starting up the server if ( arguments.deployServer ) { variables.print