Delete empty raster tiles from a MBTiles file

delete < 1kb
1
2
delete from tiles WHERE
length(tile_data) <= 1024