For fresh install, we need the migrations to happen before the upgrade command is triggered as the upgrade command is a NestJS command and the app will try to load env variables from db