Description
CLI admin command create-admin-user
runs migrations when opening a database. This caused an issue for a customer when the cli was on a more recent release than their running servers. This caused the database to be on v2.18, while their coderd was on v2.17.0. And coderd was unable to boot.
Admin cli commands should not run migrations, and we should have a migrate
command to do it explicitly.
coder/cli/server_createadminuser.go
Line 26 in 14579fa