In the migration, temporarily DROP VIEWs that depend on "downloads.type" because otherwise it ends up in an error; remove old enum values from the "download_type" enum