wesnoth/utils/mp-server/query-scripts/25-addon-download-counts.sql
Pentarctagon 337894ac7b Store add-on download count in the database.
The idea being that this could then also be included as a sheet in the multiplayer activity report, which would then be an easy way to view add-on downloads over time. This would of course not be especially useful until 1.18, since for 1.17 the database count would be starting at 0 even though existing add-ons would have a non-zero download count.
2022-06-04 11:21:00 -05:00

3 lines
142 B
SQL

select INSTANCE_VERSION, ADDON_ID, VERSION, UPLOADED_ON, DOWNLOAD_COUNT
from campaignd_addon_info
order by INSTANCE_VERSION, ADDON_ID, VERSION