Upgrade issue from 1.21 -> 1.22
-
Has anyone had an issue upgrading FusionAuth 1.21 -> 1.22 due to the
state
field of the tenant definition in the DB being missing?Logins still work but attempting to view the tenants in the console fails with a template error because of the missing field. It’s not a big issue as we can patch it easily enough, but I wonder if we missed a migration script or something.
-
there is a migration script for 1.21 -> 1.22. It looks like it wasn't mentioned in the release notes, probably because it was a small migration. Perhaps that was an oversight.
In general, if you are managing the migrations yourself (rather than having fusionauth do them for you) you should visit https://fusionauth.io/direct-download/ every time there is a release and download the migration scripts and run any new ones.
https://fusionauth.io/docs/v1/tech/installation-guide/upgrade/#database has more details.
-
Added missing db migration notices for 1.21.0 and 1.22.0.