Closed ghost closed 1 year ago
I just checked both my backups and repository and there doesn't seem to be a .cfmigrations.json file in either of those 2 locations, which means this is something new.
Repository: https://bitbucket.org/ookma-kyi/ookma-kyi-core
Here is a link to the discussion of the error on the CFML Slack https://cfml.slack.com/archives/C06TSRXCJ/p1664303910313329
Thanks for the issue. This is fixed in 4.0.1.
I just started coding again after a bit of a rest and when I try to uninstall and reinstall my database I get the error:
I tried the following commands and neither fixed the issue:
install
migrate init
migrate install
migrate down
migrate up
I managed to track the error to the .cfmigration file generation tool producing bad code in the .cfmigrations.json file. Here is what the bad code looks like:
Here is what it should look like:
Just add a
,
after the line"seedEnvironments" : "development"
and it's fixed.