Is there an automatic way to generate a continuous query on the entire database?

I’m running InfluxDB 1.8.4. The main database has about 30 measurements, each with a few columns. Writing CQs to downsample data for all of them by hand would be pretty tedious, so is there a built-in tool for automating this?