Ensure that is no pending migrations when using database on Gitlab::CurrentSettings
This fixes the undefined method `recaptcha_enabled' for #ApplicationSetting:0x007f28552f8238 when running the build.
This fixes the undefined method `recaptcha_enabled' for #ApplicationSetting:0x007f28552f8238 when running the build.