Ookma-Kyi
08/23/2022, 3:51 PMCommand "migrate install" cannot be resolved.
Please type "help" for assistance.
CommandBox>
What the hell happened to my installation??? I literally zipped the entire source directory up, so I shouldn't be having these issues.bdw429s
08/23/2022, 4:26 PMbdw429s
08/23/2022, 4:26 PMbdw429s
08/23/2022, 4:26 PMlist --system
bdw429s
08/23/2022, 4:26 PMbdw429s
08/23/2022, 4:27 PM~./CommandBox
folder or changed the user you're running under.bdw429s
08/23/2022, 4:32 PMbox.json
. Then, when a new developer runs
box install
it will grab not only their app dependencies but also any system modules which are required (which install into the CommandBox home dir).bdw429s
08/23/2022, 4:37 PMbdw429s
08/23/2022, 4:37 PMOokma-Kyi
08/23/2022, 4:37 PMbox install
, and seem to be getting closer.
CommandBox> migrate install
ERROR (5.5.2+00578)
Unknown database 'ookma-kyi'
CommandBox>
bdw429s
08/23/2022, 4:37 PMbdw429s
08/23/2022, 4:38 PMbdw429s
08/23/2022, 4:38 PMOokma-Kyi
08/23/2022, 4:38 PMbdw429s
08/23/2022, 4:38 PMOokma-Kyi
08/23/2022, 4:40 PMbdw429s
08/23/2022, 4:40 PMSo like Python there are global and project specific librariesSort of, but not really. In Python or Npm's case there is only one global installation of the Python or Node runtime. In this case, your CommandBox CLI process is 100% totally and completely unrelated to your ColdBox app and any web servers you may or may not have started. They just happen to be on the same PC at the same time.
bdw429s
08/23/2022, 4:40 PMSo my database isn't global either?Your DB has nothing at all to do with any of this. I have no idea what sort of DB your using so I couldn't begin to answer that.
Ookma-Kyi
08/23/2022, 4:41 PMbdw429s
08/23/2022, 4:41 PMOokma-Kyi
08/23/2022, 4:42 PMbdw429s
08/23/2022, 4:42 PMOokma-Kyi
08/23/2022, 4:43 PMbox install
to install the modulesbdw429s
08/23/2022, 4:43 PMcfmigrations
- A service layer for running migrations via CF code
⢠commandbox-migrations
- A CommanBox module for running migrations via commandsbdw429s
08/23/2022, 4:43 PMbdw429s
08/23/2022, 4:44 PMmgiration up
sort of commands will work in the CLI. For those to work, you must actually install actual CLI modules into the CLIOokma-Kyi
08/23/2022, 4:44 PMCommandBox> list --system
Dependency Hierarchy for CommandBox System (1.0.0)
āā⬠commandbox-cfformat (0.17.5)
ā āāā testbox ()
āā⬠commandbox-cfconfig (1.10.0)
ā āā⬠cfconfig-services (1.18.3)
ā āāā lucee-password-util (1.0.3)
ā āāā coldbox ()
ā āāā testbox ()
ā āā⬠JSONPrettyPrint (1.4.1)
ā ā āāā coldbox ()
ā ā āāā testbox ()
ā āā⬠adobe-password-util (1.0.8)
ā ā āāā propertyFile (1.3.2)
ā āā⬠semver (1.2.6)
ā ā āāā testbox ()
ā āāā propertyFile (1.3.2)
āā⬠commandbox-dotenv (2.3.0)
ā āāā propertyFile (1.3.2)
āā⬠commandbox-migrations (3.2.3)
āā⬠cfmigrations (2.0.10)
āāā coldbox ()
āāā testbox ()
āā⬠qb (8.9.0)
ā āāā testbox ()
ā āā⬠cbpaginator (2.8.1)
ā āāā testbox ()
āāā orgpostgresqljdbc424214lex ()
bdw429s
08/23/2022, 4:45 PMcfmigrations
module in coldbox and installed it by accident, thinking it's the CLi version.bdw429s
08/23/2022, 4:46 PMcommandbox-migrations
in that list, which is good. Did you just install it?Ookma-Kyi
08/23/2022, 4:46 PMbdw429s
08/23/2022, 4:46 PMOokma-Kyi
08/23/2022, 4:47 PMOokma-Kyi
08/23/2022, 4:47 PMCommandBox> migrate init
cfmigrations already configured for this project.
CommandBox>
Ookma-Kyi
08/23/2022, 4:48 PMCommandBox> migrate install
ERROR (5.5.2+00578)
Unknown database 'ookma-kyi'
CommandBox>
bdw429s
08/23/2022, 4:50 PMbdw429s
08/23/2022, 4:50 PMbdw429s
08/23/2022, 4:50 PMOokma-Kyi
08/23/2022, 4:51 PMbdw429s
08/23/2022, 4:51 PM